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 overBabelNet
's lexicon.- Author:
- vannella, navigli
-
-
Field Summary
-
Fields inherited from class it.uniroma1.lcl.babelnet.iterators.BabelIterator
currentIndex, liveDocs, reader
-
-
Constructor Summary
Constructors Constructor Description BabelLexiconIterator(org.apache.lucene.search.IndexSearcher lexicon)
Builds the iterator from the Lucene index searcher
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
it.uniroma1.lcl.jlt.ling.Word
next()
-
Methods inherited from class it.uniroma1.lcl.babelnet.iterators.BabelIterator
remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
next
public it.uniroma1.lcl.jlt.ling.Word next()
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<it.uniroma1.lcl.jlt.ling.Word>
- Overrides:
hasNext
in classBabelIterator<it.uniroma1.lcl.jlt.ling.Word>
-
-