class documentation
class RPCApi(AbstractAPI):
The RPC api.
| Method | __init__ |
init method |
Inherited from AbstractAPI:
| Method | get |
Get the senses of synsets searched by words or by ResourceIDs, satisfying the optional constraints. |
| Method | get |
Get the senses of synsets containing the word with the given constraints. |
| Method | get |
Get the senses of synsets from the word with the given constraints. |
| Method | get |
Return the synset identified by the ResourceID in input. |
| Method | get |
Get synsets by words or by ResourceIDs, satisfying the optional constraints. |
| Method | iterator |
Create a new instance of BabelSynset iterator. |
| Method | lexicon |
Create a new instance of a lexicon iterator. |
| Method | offset |
Create a new instance of an offset iterator. |
| Method | to |
Get a BabelSytnset using the languages passed as input and an id_. |
| Method | to |
Convert from ResourceID to the corresponding BabelSynset. |
| Method | version |
Get the version of loaded BabelNet indices. |
| Method | wordnet |
Create a new instance of a WordNet iterator. |
| Method | _get |
Return the outgoing edges from a given BabelSynsetID |
| Method | _get |
Private version of get_senses(). |
| Method | _get |
Private version of get_synsets() |
| Method | _mapping |
Get the mapping from BabelSynsetID to _InternalBabelSynsetID. |
| Method | _prepare |
Prepare the input data by trasforming each iterable in an ordered set. |
| Method | _to |
Convert a WordNetSynsetID into a Synset. |
| Method | examples |
Get the examples (in the specified languages) of a BabelSynsetID. |
| Method | get |
Return the outgoing edges from a given BabelSynsetID |
| Method | glosses |
Get the glosses (in the specified languages) of a BabelSysetID. |
| Method | images |
Get the images of a BabelSynsetID. |