View Source GoogleApi.Language.V1.Model.AnalyzeSyntaxResponse (google_api_language v0.15.0)

The syntax analysis response message.

Attributes

  • language (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.
  • sentences (type: list(GoogleApi.Language.V1.Model.Sentence.t), default: nil) - Sentences in the input document.
  • tokens (type: list(GoogleApi.Language.V1.Model.Token.t), default: nil) - Tokens, along with their syntactic information, in the input document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V1.Model.AnalyzeSyntaxResponse{
  language: String.t() | nil,
  sentences: [GoogleApi.Language.V1.Model.Sentence.t()] | nil,
  tokens: [GoogleApi.Language.V1.Model.Token.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.