Class: Google::Cloud::Language::V2::AnnotateTextRequest::Features
- Inherits:
-
Object
- Object
- Google::Cloud::Language::V2::AnnotateTextRequest::Features
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/language/v2/language_service.rb
Overview
All available features. Setting each one to true will enable that specific analysis for the input.
Instance Attribute Summary collapse
-
#classify_text ⇒ ::Boolean
Optional.
-
#extract_document_sentiment ⇒ ::Boolean
Optional.
-
#extract_entities ⇒ ::Boolean
Optional.
-
#moderate_text ⇒ ::Boolean
Optional.
Instance Attribute Details
#classify_text ⇒ ::Boolean
Returns Optional. Classify the full document into categories.
452 453 454 455 |
# File 'proto_docs/google/cloud/language/v2/language_service.rb', line 452 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#extract_document_sentiment ⇒ ::Boolean
Returns Optional. Extract document-level sentiment.
452 453 454 455 |
# File 'proto_docs/google/cloud/language/v2/language_service.rb', line 452 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#extract_entities ⇒ ::Boolean
Returns Optional. Extract entities.
452 453 454 455 |
# File 'proto_docs/google/cloud/language/v2/language_service.rb', line 452 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#moderate_text ⇒ ::Boolean
Returns Optional. Moderate the document for harmful and sensitive categories.
452 453 454 455 |
# File 'proto_docs/google/cloud/language/v2/language_service.rb', line 452 class Features include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |