Class: Google::Cloud::Language::V1beta2::Sentence

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

Overview

Represents a sentence in the input document.

Instance Attribute Summary collapse

Instance Attribute Details

#sentimentGoogle::Cloud::Language::V1beta2::Sentiment

Returns For calls to AnalyzeSentiment or if AnnotateTextRequest::Features#extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.

Returns:



68
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 68

class Sentence; end

#textGoogle::Cloud::Language::V1beta2::TextSpan

Returns The sentence text.

Returns:



68
# File 'lib/google/cloud/language/v1beta2/doc/google/cloud/language/v1beta2/language_service.rb', line 68

class Sentence; end