Class BabelLexiconIterator

java.lang.Object
it.uniroma1.lcl.babelnet.iterators.BabelIterator<it.uniroma1.lcl.jlt.ling.Word>
it.uniroma1.lcl.babelnet.iterators.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 Details

    • BabelLexiconIterator

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

    • 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>