| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
python setup.py install
pydoc ispras
and check methods for each service
pydoc ispras.texterra
from ispras import texterrat = texterra.API('YOURKEY')You can also specify service name and version:
t = texterra.API('YOURKEY', 'texterra', 'v3.1')tags = t.posTaggingAnnotate('Hello World')
# You can also invoke Texterra with custom request:
result = t.customQuery(path, query) # for GET request
result = t.customQuery(path, query, form) # for POST requestfor annotation in tags:
print annotation['text']Use '@' before atrribute names and '#text' to access own text of nodes. Use only node name to access its text if there are no attributes or subnodes:
print an['value']['@class'], an['value']['#text']| Back | FazBrowse Home | New Git URL |