class documentation
class ResourceWithLemmaID(ResourceID):
Known subclasses: babelnet.resources.WikipediaID
, babelnet.resources.WikiquoteID
A resource identifier with multiple parameters.
Method | __init__ |
init method |
Instance Variable | language |
The item's language. |
Instance Variable | pos |
The item's part of speech (default None). |
Property | title |
The title of this ResourceWithLemmaID. |
Inherited from ResourceID
:
Method | to |
Convert the ID to a collection of BabelSynsets. |
Instance Variable | id |
ID of a ResourceID. |
Instance Variable | source |
Source of the resource ID. |
Method | __eq__ |
Undocumented |
Method | __hash__ |
Undocumented |
Method | __lt__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
Undocumented |
overrides
babelnet.resources.ResourceID.__init__
overridden in
babelnet.resources.WikipediaID
, babelnet.resources.WikiquoteID
init method
Parameters | |
title:str | The item's title. |
language:Language | The item's language. |
source:BabelSenseSource | The sense source. |
pos:Optional[POS] | The item's part of speech (default None). |