Class: Google::Cloud::Language::V1beta2::AnalyzeEntitySentimentResponse
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::AnalyzeEntitySentimentResponse
- Defined in:
- lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb
Overview
The entity-level sentiment analysis response message.
Instance Attribute Summary collapse
-
#entities ⇒ Array<Google::Cloud::Language::V1beta2::Entity>
The recognized entities in the input document with associated sentiments.
-
#language ⇒ String
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.
Instance Attribute Details
#entities ⇒ Array<Google::Cloud::Language::V1beta2::Entity>
Returns The recognized entities in the input document with associated sentiments.
843 |
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 843 class AnalyzeEntitySentimentResponse; end |
#language ⇒ String
Returns 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.
843 |
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 843 class AnalyzeEntitySentimentResponse; end |