ErlangModule.setupErlangConfiguration(learnerConfig.config,new File(ErlangExamples+"/frequency/frequencyBroken.erl"));
learnerConfig.config.setErlangAlphabetAnyElements(EXPANSIONOFANY.ANY_WIBBLE);learnerConfig.config.setTransitionMatrixImplType(STATETREE.STATETREE_SLOWTREE);
learnerConfig.config.setErlangInitialTraceLength(3);
learnerConfig.config.setErlangStripModuleNamesFromFunctionsInNonGenModules(true);
ErlangModule mod = ErlangModule.loadModule(learnerConfig.config);
OtpErlangTuple startFunType=mod.sigTypes.get("frequencyBroken:start/0");
Map<String,OtpErlangTuple> override = new TreeMap<String,OtpErlangTuple>();
override.put("frequencyBroken:start/0", new OtpErlangTuple(new OtpErlangObject[]{startFunType.elementAt(0),startFunType.elementAt(1),startFunType.elementAt(2),startFunType.elementAt(3),
ErlangLabel.parseText("{'Func',[],[],{'Any',[]}}")}));
mod.rebuildSigs(learnerConfig.config, override);
mod.behaviour.generateAlphabet(config);
ErlangOracleLearner learner = new ErlangOracleLearner(null,learnerConfig);
LearnerGraph frequencyE = new LearnerGraph(learnerConfig.config);
learner.init(learner.GenerateInitialTraces(learnerConfig.config.getErlangInitialTraceLength()),0,0);