google_api_language v0.1.1 GoogleApi.Language.V1.Model.Token View Source

Represents the smallest syntactic building block of the text.

Attributes

  • dependencyEdge (DependencyEdge): Dependency tree parse for this token. Defaults to: null.
  • lemma (String.t): Lemma of the token. Defaults to: null.
  • partOfSpeech (PartOfSpeech): Parts of speech tag for this token. Defaults to: null.
  • text (TextSpan): The token text. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Language.V1.Model.Token{
  dependencyEdge: GoogleApi.Language.V1.Model.DependencyEdge.t(),
  lemma: any(),
  partOfSpeech: GoogleApi.Language.V1.Model.PartOfSpeech.t(),
  text: GoogleApi.Language.V1.Model.TextSpan.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.