Class: Google::Cloud::Language::V1::AnalyzeEntitySentimentResponse

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb

Overview

The entity-level sentiment analysis response message.

Instance Attribute Summary collapse

Instance Attribute Details

#entitiesArray<Google::Cloud::Language::V1::Entity>

Returns The recognized entities in the input document with associated sentiments.

Returns:



857
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 857

class AnalyzeEntitySentimentResponse; end

#languageString

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.

Returns:

  • (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. See Document#language field for more details.



857
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 857

class AnalyzeEntitySentimentResponse; end