SenseGenerator { public SenseGenerator(SynsetGenerator synsetGenerator, IndexSenseReader isr, String resourceVersion){ this.synsetGenerator = synsetGenerator; this.isr = isr; this.resourceVersion = resourceVersion; lexemeSenseMappings = new TreeMap<Word, Sense>(new Comparator<Word>() { @Override public int compare(Word o1, Word o2) { try { return o1.getSenseKey().compareTo(o2.getSenseKey()); } catch (JWNLException e) { throw new IllegalArgumentException(e); } } }); } SenseGenerator(SynsetGenerator synsetGenerator, IndexSenseReader isr, String resourceVersion); List<Sense> generateSenses(Set<Word> lexemeGroup, LexicalEntry lexicalEntry); Sense getSense(Word lexeme); Set<Word> getProcessedLexemes(); final static String EXTERNAL_SYSTEM_SENSE_KEY; }
@Ignore @Test public final void testSenseGenerator() { fail("Not yet implemented"); }