Create dependency data from input

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.

Authentication

X-BabelStreetAPI-Keystring
API Key authentication via header
OR
X-RosetteAPI-Keystring
API Key authentication via header

Request

This endpoint expects an object.
contentstringOptional
contentUristringOptional
languagestringOptional
3 letter code of language.

Response

OK
sentencelist of objectsOptional
list of sentences with dependencies
tokenslist of stringsOptional
tokens