class Google::Apis::LanguageV1beta1::Features
All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.
Attributes
Extract document-level sentiment. Corresponds to the JSON property `extractDocumentSentiment` @return [Boolean]
Extract document-level sentiment. Corresponds to the JSON property `extractDocumentSentiment` @return [Boolean]
Extract entities. Corresponds to the JSON property `extractEntities` @return [Boolean]
Extract entities. Corresponds to the JSON property `extractEntities` @return [Boolean]
Extract syntax information. Corresponds to the JSON property `extractSyntax` @return [Boolean]
Extract syntax information. Corresponds to the JSON property `extractSyntax` @return [Boolean]
Public Class Methods
# File lib/google/apis/language_v1beta1/classes.rb, line 455 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/language_v1beta1/classes.rb, line 460 def update!(**args) @extract_document_sentiment = args[:extract_document_sentiment] if args.key?(:extract_document_sentiment) @extract_entities = args[:extract_entities] if args.key?(:extract_entities) @extract_syntax = args[:extract_syntax] if args.key?(:extract_syntax) end