GoogleApi.Language.V1.Model.PartOfSpeech (google_api_language v0.16.3)

View Source

Represents part of speech information for a token. Parts of speech are as defined in http://www.lrec-conf.org/proceedings/lrec2012/pdf/274_Paper.pdf

Attributes

  • aspect (type: String.t, default: nil) - The grammatical aspect.
  • case (type: String.t, default: nil) - The grammatical case.
  • form (type: String.t, default: nil) - The grammatical form.
  • gender (type: String.t, default: nil) - The grammatical gender.
  • mood (type: String.t, default: nil) - The grammatical mood.
  • number (type: String.t, default: nil) - The grammatical number.
  • person (type: String.t, default: nil) - The grammatical person.
  • proper (type: String.t, default: nil) - The grammatical properness.
  • reciprocity (type: String.t, default: nil) - The grammatical reciprocity.
  • tag (type: String.t, default: nil) - The part of speech tag.
  • tense (type: String.t, default: nil) - The grammatical tense.
  • voice (type: String.t, default: nil) - The grammatical voice.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V1.Model.PartOfSpeech{
  aspect: String.t() | nil,
  case: String.t() | nil,
  form: String.t() | nil,
  gender: String.t() | nil,
  mood: String.t() | nil,
  number: String.t() | nil,
  person: String.t() | nil,
  proper: String.t() | nil,
  reciprocity: String.t() | nil,
  tag: String.t() | nil,
  tense: String.t() | nil,
  voice: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.