View Source GoogleApi.Language.V2.Model.AnalyzeEntitiesResponse (google_api_language v0.15.0)

The entity analysis response message.

Attributes

  • entities (type: list(GoogleApi.Language.V2.Model.Entity.t), default: nil) - The recognized entities in the input document.
  • languageCode (type: String.t, default: nil) - The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.
  • languageSupported (type: boolean(), default: nil) - Whether the language is officially supported. The API may still return a response when the language is not supported, but it is on a best effort basis.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V2.Model.AnalyzeEntitiesResponse{
  entities: [GoogleApi.Language.V2.Model.Entity.t()] | nil,
  languageCode: String.t() | nil,
  languageSupported: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.