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.

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
The text to be analyzed.
contentUristringOptional
The URI of the content to be analyzed.
languagestringOptional

Three-letter ISO 693-3 language code.

Response

OK
sentencelist of objects or null
list of sentences with dependencies
tokenslist of strings or null
tokens