Class: Google::Cloud::Language::V1::AnnotateTextRequest::Features
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V1::AnnotateTextRequest::Features
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v1/language_service.rb
Overview
All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
Instance Attribute Summary collapse
-
#classify_text ⇒ ::Boolean
Classify the full document into categories.
-
#extract_document_sentiment ⇒ ::Boolean
Extract document-level sentiment.
-
#extract_entities ⇒ ::Boolean
Extract entities.
-
#extract_entity_sentiment ⇒ ::Boolean
Extract entities and their associated sentiment.
-
#extract_syntax ⇒ ::Boolean
Extract syntax information.
Instance Attribute Details
#classify_text ⇒ ::Boolean
Returns Classify the full document into categories.
1053 1054 1055 1056 |
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 1053 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#extract_document_sentiment ⇒ ::Boolean
Returns Extract document-level sentiment.
1053 1054 1055 1056 |
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 1053 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#extract_entities ⇒ ::Boolean
Returns Extract entities.
1053 1054 1055 1056 |
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 1053 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#extract_entity_sentiment ⇒ ::Boolean
Returns Extract entities and their associated sentiment.
1053 1054 1055 1056 |
# File 'proto_docs/google/cloud/language/v1/language_service.rb', line 1053 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |