Class: Google::Cloud::Language::V1::AnnotateTextRequest::Features

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/language/v1/doc/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

Instance Attribute Details

#classify_texttrue, false

Returns Classify the full document into categories.

Returns:

  • (true, false)

    Classify the full document into categories.



932
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 932

class Features; end

#extract_document_sentimenttrue, false

Returns Extract document-level sentiment.

Returns:

  • (true, false)

    Extract document-level sentiment.



932
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 932

class Features; end

#extract_entitiestrue, false

Returns Extract entities.

Returns:

  • (true, false)

    Extract entities.



932
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 932

class Features; end

#extract_entity_sentimenttrue, false

Returns Extract entities and their associated sentiment.

Returns:

  • (true, false)

    Extract entities and their associated sentiment.



932
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 932

class Features; end

#extract_syntaxtrue, false

Returns Extract syntax information.

Returns:

  • (true, false)

    Extract syntax information.



932
# File 'lib/google/cloud/language/v1/doc/google/cloud/language/v1/language_service.rb', line 932

class Features; end