public class BabelLexiconIterator extends BabelIterator<it.uniroma1.lcl.jlt.ling.Word>
BabelNet
's lexicon.currentIndex, liveDocs, reader
Constructor and Description |
---|
BabelLexiconIterator(org.apache.lucene.search.IndexSearcher lexicon)
Builds the iterator from the Lucene index searcher
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
it.uniroma1.lcl.jlt.ling.Word |
next() |
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public BabelLexiconIterator(org.apache.lucene.search.IndexSearcher lexicon)
lexicon
- the Lucene index searcherpublic it.uniroma1.lcl.jlt.ling.Word next()
public boolean hasNext()
hasNext
in interface Iterator<it.uniroma1.lcl.jlt.ling.Word>
hasNext
in class BabelIterator<it.uniroma1.lcl.jlt.ling.Word>
Copyright © 2016–2018. All rights reserved.