class documentation

class GeoNamesID(ResourceID):

View In Hierarchy

A resource identifier with the specified GeoNames resource id.

Example of GeoNamesID:

    rid = GeoNamesID('3169071')
Method __init__ init method

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 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):

init method

Parameters
id_str:strID of the resource.