Class: Google::Cloud::Language::V1beta2::Sentence
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1beta2::Sentence
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v1beta2/language_service.rb
Overview
Represents a sentence in the input document.
Instance Attribute Summary collapse
-
#sentiment ⇒ ::Google::Cloud::Language::V1beta2::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::V1beta2::TextSpan
The sentence text.
Instance Attribute Details
#sentiment ⇒ ::Google::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.
97 98 99 100 |
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 97 class Sentence include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |