class documentation
class WikipediaID(ResourceWithLemmaID):
A resource identifier with the specified Wikipedia page title, language and POS.
Example of WikipediaID:
rid = WikipediaID('BabelNet', Language.EN)
rid = WikipediaID('BabelNet', Language.EN, POS.NOUN)
| Method | __init__ |
init method |
Inherited from ResourceWithLemmaID:
| 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 (via ResourceWithLemmaID):
| 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 |