class documentation
class BabelIteratorImpl(BabelIterator, ABC):
Known subclasses: babelnet.iterators.iter_impl.BabelLexiconIteratorImpl, babelnet.iterators.iter_impl.BabelOffsetIteratorImpl, babelnet.iterators.iter_impl.BabelSynsetIteratorImpl, babelnet.iterators.iter_impl.WordNetSynsetIteratorImpl
Abstract iterator over BabelNet's content.
| Method | __init__ |
init method |
| Method | has |
function that returns true if the iterator has still another element to continue the iteration with. |
| Method | __iter__ |
Undocumented |
| Instance Variable | _current |
indicates the current index of the iteration |
| Instance Variable | _live |
the LiveDocs of lucene |
| Instance Variable | _reader |
the reader |
Inherited from BabelIterator:
| Method | __next__ |
Undocumented |
def __init__(self, searcher):
overridden in
babelnet.iterators.iter_impl.WordNetSynsetIteratorImplinit method
| Parameters | |
| searcher | The searcher to use |
def has_next(self):
overridden in
babelnet.iterators.iter_impl.BabelLexiconIteratorImpl, babelnet.iterators.iter_impl.WordNetSynsetIteratorImplfunction that returns true if the iterator has still another element to continue the iteration with.
| Returns | |
bool | true if there is another element, false otherwise |
_current_index:
int =
overridden in
babelnet.iterators.iter_impl.WordNetSynsetIteratorImplindicates the current index of the iteration