class documentation

class WordNetSynsetIteratorImpl(BabelIteratorImpl, WordNetSynsetIterator):

View In Hierarchy

Iterator over WordNet BabelSynset(s).

Static Method get_char Get the character at the given index.
Method __init__ init method
Method has_next function that returns true if the iterator has still another element to continue the iteration with.
Method __next__ Undocumented
Constant _ADJ_CHAR Undocumented
Constant _ADJ_MAX_VALUE Undocumented
Constant _ADV_CHAR Undocumented
Constant _MAX_SYNSET_VALUE Undocumented
Constant _NOUN_CHAR Undocumented
Constant _NOUN_MAX_VALUE Undocumented
Constant _PREFIX Undocumented
Constant _VERB_CHAR Undocumented
Constant _VERB_MAX_VALUE Undocumented
Instance Variable _current_index the current index of the iteration

Inherited from BabelIteratorImpl:

Method __iter__ Undocumented
Instance Variable _live_docs the LiveDocs of lucene
Instance Variable _reader the reader
@staticmethod
def get_char(index):

Get the character at the given index.

Parameters
index:intthe index of the char
Returns
strthe character.
def __init__(self, searcher):

init method

Parameters
searcherthe searcher
def has_next(self):

function that returns true if the iterator has still another element to continue the iteration with.

Returns
booltrue if there is another element, false otherwise
def __next__(self):
_ADJ_CHAR: str =

Undocumented

Value
'a'
_ADJ_MAX_VALUE: int =

Undocumented

Value
114038
_ADV_CHAR: str =

Undocumented

Value
'r'
_MAX_SYNSET_VALUE: int =

Undocumented

Value
117659
_NOUN_CHAR: str =

Undocumented

Value
'n'
_NOUN_MAX_VALUE: int =

Undocumented

Value
82115
_PREFIX: str =

Undocumented

Value
'bn:'
_VERB_CHAR: str =

Undocumented

Value
'v'
_VERB_MAX_VALUE: int =

Undocumented

Value
95882
_current_index: int =

the current index of the iteration