Class: Google::Cloud::Language::V1beta2::AnnotateTextRequest::Features

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/language/v1beta2/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. Next ID: 10

Instance Attribute Summary collapse

Instance Attribute Details

#classify_text::Boolean

Returns Classify the full document into categories. If this is true, the API will use the default model which classifies into a predefined taxonomy.

Returns:

  • (::Boolean)

    Classify the full document into categories. If this is true, the API will use the default model which classifies into a predefined taxonomy.



1066
1067
1068
1069
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1066

class Features
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#extract_document_sentiment::Boolean

Returns Extract document-level sentiment.

Returns:

  • (::Boolean)

    Extract document-level sentiment.



1066
1067
1068
1069
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1066

class Features
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#extract_entities::Boolean

Returns Extract entities.

Returns:

  • (::Boolean)

    Extract entities.



1066
1067
1068
1069
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1066

class Features
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#extract_entity_sentiment::Boolean

Returns Extract entities and their associated sentiment.

Returns:

  • (::Boolean)

    Extract entities and their associated sentiment.



1066
1067
1068
1069
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1066

class Features
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#extract_syntax::Boolean

Returns Extract syntax information.

Returns:

  • (::Boolean)

    Extract syntax information.



1066
1067
1068
1069
# File 'proto_docs/google/cloud/language/v1beta2/language_service.rb', line 1066

class Features
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end