class documentation

A unique identifier for a Synset.

Method __init__ init method
Instance Variable pos the POS
Property is_valid True if the SynsetID is valid, False otherwise
Property simple_offset The offset without prefix (e.g. `wn:` or `bn:`).

Inherited from ResourceID:

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 source Source of the resource ID.
Method __eq__ Undocumented
Method __hash__ Undocumented
Method __lt__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
def __init__(self, id_str, source):

init method

Parameters
id_str:strSynset ID.
sourceSource
Raises
InvalidSynsetIDErrorRaised if the ID is invalid
pos: POS =

True if the SynsetID is valid, False otherwise

@property
simple_offset: str =

The offset without prefix (e.g. `wn:` or `bn:`).