GoogleApi.Language.V2.Model.AnnotateTextRequestFeatures (google_api_language v0.16.3)

View Source

All available features. Setting each one to true will enable that specific analysis for the input.

Attributes

  • classifyText (type: boolean(), default: nil) - Optional. Classify the full document into categories.
  • extractDocumentSentiment (type: boolean(), default: nil) - Optional. Extract document-level sentiment.
  • extractEntities (type: boolean(), default: nil) - Optional. Extract entities.
  • moderateText (type: boolean(), default: nil) - Optional. Moderate the document for harmful and sensitive categories.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V2.Model.AnnotateTextRequestFeatures{
  classifyText: boolean() | nil,
  extractDocumentSentiment: boolean() | nil,
  extractEntities: boolean() | nil,
  moderateText: boolean() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.