This is the Python client binding for Rosette API.
Please check out the wiki for additional information
The Python binding requires Python 2.7+ or 3.4+ and is available through pip:
pip install rosette_api
If the version you are using is not the latest from PyPI, please check for its compatibilty with api.rosette.com. If you have an on-premise version of Rosette API server, please contact support for binding compatibility with your installation.
To check your installed version:
pip show rosette_api
For help in how to call the various endpoints, please refer to the examples.
- morphology (complete, compound components, han readings, lemmas, parts of speech)
- name deduplication
- name similarity
- name translation
- syntax dependencies
- text embedding
A Docker image for running the examples against the compiled source library is available on Docker Hub.
docker run -e API_KEY=api-key -v "<binding root directory>:/source" rosetteapi/docker-python
Additional environment settings:
-e ALT_URL=<alternative URL>
-e FILENAME=<single filename>
Visit Rosette API site