class documentation
class RESTfulPacket:
BabelNet RESTful request object.
Static Method | res |
Get the response properties |
Method | __init__ |
init method |
Method | to |
Get the json serialization for this object |
Instance Variable | call |
the type of the request |
Instance Variable | lemmas |
the lemmas to ask for |
Instance Variable | normalizer |
the normalizer to use |
Instance Variable | poses |
the POSes to ask for |
Instance Variable | resource |
the resource ids to filter |
Instance Variable | rf |
teh restful key |
Instance Variable | search |
the language to filter for the search |
Instance Variable | sense |
the sources to filter for the senses |
Instance Variable | synest |
the synset ids to ask for |
Instance Variable | synset |
Undocumented |
Instance Variable | target |
the language to use for the response |
Instance Variable | wordnet |
the id of wordnet |
Get the response properties
Parameters | |
res | the response |
Returns | |
a dict with all the properties of the response inside. |
def __init__(self, call_type, rf_key):
init method
Parameters | |
callRESTfulCallType | The type of the RESTful calls. |
rf | The restful key |