class documentation

class BabelTokenId:

View In Hierarchy

Represents the association between the word that appears in a Babel gloss and the BabelSynsetID that identifies the lemma in BabelNet.

Method __init__ init method
Instance Variable end The end position.
Instance Variable id The id of the BabelSynset.
Instance Variable start The start position.
Instance Variable word The word being annotated.
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __lt__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
def __init__(self, start, end, synset_id, word):

init method

Parameters
start:intThe start position.
end:intThe end position.
synset_id:BabelSynsetIDThe id of the BabelSynset.
word:strThe word being annotated.
end: int =

The end position.

The id of the BabelSynset.

start: int =

The start position.

word: str =

The word being annotated.

def __eq__(self, other):

Undocumented

def __hash__(self):

Undocumented

def __lt__(self, other):

Undocumented

def __repr__(self):

Undocumented

def __str__(self):

Undocumented