Grammar grammar = Resources.loadGrammar(ResourcesBundleFile.KBGEN_GRAMMAR.getFile());
SyntacticLexicon lexicon = Resources.loadLexicon(ResourcesBundleFile.KBGEN_LEXICON.getFile());
TestSuite testSuite = Resources.loadTestSuite(ResourcesBundleFile.KBGEN_TESTSUITE.getFile());
LoggerConfiguration.init();
JeniLexicalSelection selection = new JeniLexicalSelection(grammar, lexicon);
for(TestSuiteEntry entry : testSuite)
{
System.out.println(entry.getId());
try
{
TimeoutManager.start();
selection.selectEntries(entry.getSemantics());
}
catch(TimeoutException e)
{
System.err.println(e.getMessage());
}