Class BabelLexiconIterator

  • All Implemented Interfaces:
    Iterator<it.uniroma1.lcl.jlt.ling.Word>

    public class BabelLexiconIterator
    extends BabelIterator<it.uniroma1.lcl.jlt.ling.Word>
    Iterator over BabelNet's lexicon.
    Author:
    vannella, navigli
    • Constructor Detail

      • BabelLexiconIterator

        public BabelLexiconIterator​(org.apache.lucene.search.IndexSearcher lexicon)
        Builds the iterator from the Lucene index searcher
        Parameters:
        lexicon - the Lucene index searcher
    • Method Detail

      • next

        public it.uniroma1.lcl.jlt.ling.Word next()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface Iterator<it.uniroma1.lcl.jlt.ling.Word>
        Overrides:
        hasNext in class BabelIterator<it.uniroma1.lcl.jlt.ling.Word>