AnalyzeSyntaxResponse
class AnalyzeSyntaxResponse extends Message
The syntax analysis response message.
Protobuf type Google\Cloud\Language\V1beta2\AnalyzeSyntaxResponse
Methods
No description
Sentences in the input document.
Sentences in the input document.
Tokens, along with their syntactic information, in the input document.
Tokens, along with their syntactic information, in the input document.
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.
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.
Details
at line 39
__construct()
at line 50
RepeatedField
getSentences()
Sentences in the input document.
Generated from protobuf field repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
at line 61
setSentences(array|RepeatedField $var)
Sentences in the input document.
Generated from protobuf field repeated .google.cloud.language.v1beta2.Sentence sentences = 1;
at line 73
RepeatedField
getTokens()
Tokens, along with their syntactic information, in the input document.
Generated from protobuf field repeated .google.cloud.language.v1beta2.Token tokens = 2;
at line 84
setTokens(array|RepeatedField $var)
Tokens, along with their syntactic information, in the input document.
Generated from protobuf field repeated .google.cloud.language.v1beta2.Token tokens = 2;
at line 98
string
getLanguage()
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][google.cloud.language.v1beta2.Document.language] field for more details.
Generated from protobuf field string language = 3;
at line 111
setLanguage(string $var)
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][google.cloud.language.v1beta2.Document.language] field for more details.
Generated from protobuf field string language = 3;