Class AnalyzeSyntaxResponse (2.15.1)

AnalyzeSyntaxResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The syntax analysis response message.

Attributes

Name Description
sentences MutableSequence[google.cloud.language_v1beta2.types.Sentence]
Sentences in the input document.
tokens MutableSequence[google.cloud.language_v1beta2.types.Token]
Tokens, along with their syntactic information, in the input document.
language str
The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.