class documentation

A basic resource identifier.

Method __init__ init method
Method to_synsets Convert the ID to a collection of BabelSynsets.
Instance Variable id ID of a ResourceID.
Instance Variable language Language of the resource ID, if available.
Instance Variable pos POS of the resource ID, if available.
Instance Variable source Source of the resource ID.
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __lt__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
def to_synsets(self, languages=None):

Convert the ID to a collection of BabelSynsets.

Parameters
languages:Optional[Iterable[Language]]The languages to populate the synsets with (default is None).
Returns
List[BabelSynset]The corresponding synsets (in most cases, it will be just a single synset).
id: str =

ID of a ResourceID.

language: Optional[Language] =

Language of the resource ID, if available.

pos: Optional[POS] =

POS of the resource ID, if available.

source: BabelSenseSource =

Source of the resource ID.

def __eq__(self, other):

Undocumented

def __hash__(self):

Undocumented

def __lt__(self, other):

Undocumented

def __repr__(self):

Undocumented

def __str__(self):

Undocumented