Class AnalyzeSyntaxResponse (2.7.0)

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

The syntax analysis response message.

Attributes

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