class documentation
class GeoNamesID(ResourceID):
A resource identifier with the specified GeoNames resource id.
Example of GeoNamesID:
rid = GeoNamesID('3169071')
Method | __init__ |
init method |
Inherited from ResourceID
:
Method | to |
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 __init__(self, id_str):
overrides
babelnet.resources.ResourceID.__init__
init method
Parameters | |
idstr | ID of the resource. |