google_api_language v0.1.1 GoogleApi.Language.V1.Model.PartOfSpeech 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 (String.t): The grammatical aspect. Defaults to: null.

    • Enum - one of [ASPECT_UNKNOWN, PERFECTIVE, IMPERFECTIVE, PROGRESSIVE]
  • case (String.t): The grammatical case. Defaults to: null.

    • Enum - one of [CASE_UNKNOWN, ACCUSATIVE, ADVERBIAL, COMPLEMENTIVE, DATIVE, GENITIVE, INSTRUMENTAL, LOCATIVE, NOMINATIVE, OBLIQUE, PARTITIVE, PREPOSITIONAL, REFLEXIVE_CASE, RELATIVE_CASE, VOCATIVE]
  • form (String.t): The grammatical form. Defaults to: null.

    • Enum - one of [FORM_UNKNOWN, ADNOMIAL, AUXILIARY, COMPLEMENTIZER, FINAL_ENDING, GERUND, REALIS, IRREALIS, SHORT, LONG, ORDER, SPECIFIC]
  • gender (String.t): The grammatical gender. Defaults to: null.

    • Enum - one of [GENDER_UNKNOWN, FEMININE, MASCULINE, NEUTER]
  • mood (String.t): The grammatical mood. Defaults to: null.

    • Enum - one of [MOOD_UNKNOWN, CONDITIONAL_MOOD, IMPERATIVE, INDICATIVE, INTERROGATIVE, JUSSIVE, SUBJUNCTIVE]
  • number (String.t): The grammatical number. Defaults to: null.

    • Enum - one of [NUMBER_UNKNOWN, SINGULAR, PLURAL, DUAL]
  • person (String.t): The grammatical person. Defaults to: null.

    • Enum - one of [PERSON_UNKNOWN, FIRST, SECOND, THIRD, REFLEXIVE_PERSON]
  • proper (String.t): The grammatical properness. Defaults to: null.

    • Enum - one of [PROPER_UNKNOWN, PROPER, NOT_PROPER]
  • reciprocity (String.t): The grammatical reciprocity. Defaults to: null.

    • Enum - one of [RECIPROCITY_UNKNOWN, RECIPROCAL, NON_RECIPROCAL]
  • tag (String.t): The part of speech tag. Defaults to: null.

    • Enum - one of [UNKNOWN, ADJ, ADP, ADV, CONJ, DET, NOUN, NUM, PRON, PRT, PUNCT, VERB, X, AFFIX]
  • tense (String.t): The grammatical tense. Defaults to: null.

    • Enum - one of [TENSE_UNKNOWN, CONDITIONAL_TENSE, FUTURE, PAST, PRESENT, IMPERFECT, PLUPERFECT]
  • voice (String.t): The grammatical voice. Defaults to: null.

    • Enum - one of [VOICE_UNKNOWN, ACTIVE, CAUSATIVE, PASSIVE]

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.PartOfSpeech{
  aspect: any(),
  case: any(),
  form: any(),
  gender: any(),
  mood: any(),
  number: any(),
  person: any(),
  proper: any(),
  reciprocity: any(),
  tag: any(),
  tense: any(),
  voice: any()
}

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.