Class AnalyzeSyntaxResponse (2.3.2)

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

The syntax analysis response message.

Attributes

NameDescription
sentences Sequence[google.cloud.language_v1beta2.types.Sentence]
Sentences in the input document.
tokens Sequence[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.