class documentation
class BabelTokenId:
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:int | The start position. |
end:int | The end position. |
synsetBabelSynsetID | The id of the BabelSynset. |
word:str | The word being annotated. |