Class AnalyzeSyntaxResponse (2.5.2)

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

The syntax analysis response message.

Attributes

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

Inheritance

builtins.object > proto.message.Message > AnalyzeSyntaxResponse