Class: Google::Cloud::Language::V2::AnnotateTextRequest::Features

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#classify_text::Boolean

Returns Optional. Classify the full document into categories.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Boolean)

    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