AnalyzeEntitySentimentResponse
class AnalyzeEntitySentimentResponse extends Message
The entity-level sentiment analysis response message.
Protobuf type Google\Cloud\Language\V1beta2\AnalyzeEntitySentimentResponse
Methods
No description
The recognized entities in the input document with associated sentiments.
The recognized entities in the input document with associated sentiments.
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 33
__construct()
at line 44
RepeatedField
getEntities()
The recognized entities in the input document with associated sentiments.
Generated from protobuf field repeated .google.cloud.language.v1beta2.Entity entities = 1;
at line 55
setEntities(array|RepeatedField $var)
The recognized entities in the input document with associated sentiments.
Generated from protobuf field repeated .google.cloud.language.v1beta2.Entity entities = 1;
at line 69
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 = 2;
at line 82
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 = 2;