google_api_language v0.6.0 GoogleApi.Language.V1.Model.Features View Source

All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.

Attributes

  • classifyText (type: boolean(), default: nil) - Classify the full document into categories.
  • extractDocumentSentiment (type: boolean(), default: nil) - Extract document-level sentiment.
  • extractEntities (type: boolean(), default: nil) - Extract entities.
  • extractEntitySentiment (type: boolean(), default: nil) - Extract entities and their associated sentiment.
  • extractSyntax (type: boolean(), default: nil) - Extract syntax information.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Language.V1.Model.Features{
  classifyText: boolean(),
  extractDocumentSentiment: boolean(),
  extractEntities: boolean(),
  extractEntitySentiment: boolean(),
  extractSyntax: boolean()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.