GoogleApi.Language.V1.Model.Features (google_api_language v0.13.0) 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

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.