Class: Google::Cloud::Language::V1::Sentence
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1::Sentence
- Defined in:
- lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb
Overview
Represents a sentence in the input document.
Instance Attribute Summary collapse
-
#sentiment ⇒ Google::Cloud::Language::V1::Sentiment
For calls to AnalyzeSentiment or if AnnotateTextRequest::Features#extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.
-
#text ⇒ Google::Cloud::Language::V1::TextSpan
The sentence text.
Instance Attribute Details
#sentiment ⇒ Google::Cloud::Language::V1::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.
79 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 79 class Sentence; end |
#text ⇒ Google::Cloud::Language::V1::TextSpan
Returns The sentence text.
79 |
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 79 class Sentence; end |