syntax-dependencies

Create dependency data from input

The Rosette 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. <br><br>The /syntax/dependencies endpoint returns a list of sentences, their offsets, and their labeled dependencies, all connected to a list of tokens by indices.

post/syntax/dependencies

Request

  • Base URL: https://api.rosette.com/rest/v1
  • URL: https://api.rosette.com/rest/v1/syntax/dependencies
  • Auth: API key in header X-RosetteAPI-Key

Request body

OR

Response

OK

tokensstring[]

tokens

Changes

No recorded changes to this operation across all 1 revision of this API.