word/upos

Types

Universal POS tag based on https://universaldependencies.org/u/pos/index.html

pub type UPOS {
  ADJ
  ADP
  ADV
  AUX
  CCONJ
  DET
  INTJ
  NOUN
  NUM
  PART
  PRON
  PROPN
  PUNCT
  SCONJ
  SYM
  VERB
  X
}

Constructors

  • ADJ

    adjective

  • ADP

    adposition

  • ADV

    adverb

  • AUX

    auxiliary

  • CCONJ

    coordinating conjunction

  • DET

    determiner

  • INTJ

    interjection

  • NOUN

    noun

  • NUM

    numeral

  • PART

    particle

  • PRON

    pronoun

  • PROPN

    proper noun

  • PUNCT

    punctuation

  • SCONJ

    subordinating conjunction

  • SYM

    symbol

  • VERB

    verb

  • X

    other

Functions

pub fn parse(input: String) -> Result(UPOS, ParseError)
Search Document