/** * Returns an {@link Iterator} over {@link LexicalEntry} instances which written representation * is the specified word. * * Optionally lexical entries can be filtered by part-of-speech and a {@link Lexicon}. * * @param lexicon * If not null, filters lexical entries by the specified lexicon. Note that the * Lexicon instance has to be obtained beforehand. * @return An Iterator over lexical entries matching the specified criteria * * @see EPartOfSpeech * @see LexicalEntry#getLemma() */ public Iterator<LexicalEntry> getLexicalEntryIterator(Lexicon lexicon) { return getLexicalEntryIterator(null, lexicon); }