GoogleApi.Language.V1.Model.Token (google_api_language v0.13.0) View Source

Represents the smallest syntactic building block of the text.

Attributes

  • dependencyEdge (type: GoogleApi.Language.V1.Model.DependencyEdge.t, default: nil) - Dependency tree parse for this token.
  • lemma (type: String.t, default: nil) - Lemma of the token.
  • partOfSpeech (type: GoogleApi.Language.V1.Model.PartOfSpeech.t, default: nil) - Parts of speech tag for this token.
  • text (type: GoogleApi.Language.V1.Model.TextSpan.t, default: nil) - The token text.

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.Token{
  dependencyEdge: GoogleApi.Language.V1.Model.DependencyEdge.t() | nil,
  lemma: String.t() | nil,
  partOfSpeech: GoogleApi.Language.V1.Model.PartOfSpeech.t() | nil,
  text: GoogleApi.Language.V1.Model.TextSpan.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.