Identify dependency data
The Analytics API’s /syntax/dependencies endpoint will return the parse tree of the input text as a list of labeled directed links between tokens, as well as the list of tokens in the input sentence.
The /syntax/dependencies endpoint returns a list of sentences, their offsets, and their labeled dependencies, all connected to a list of tokens by indices.
Headers
X-RosetteAPI-Key
Request
This endpoint expects an object.
content
The text to be analyzed.
language
Three-letter ISO 693-3 language code.
Response
OK
sentence
list of sentences with dependencies
tokens
tokens