UNPKG

geneea-nlp-client

Version:

The TypeScript Client for Geneea Interpretor G3 API.

45 lines (44 loc) 1.08 kB
/** * Universal POS tags. * See http://universaldependencies.org/u/pos/all.html */ export declare enum UPos { /** adjective */ ADJ = "ADJ", /** adverb */ ADV = "ADV", /** interjection */ INTJ = "INTJ", /** noun */ NOUN = "NOUN", /** proper noun */ PROPN = "PROPN", /** verb */ VERB = "VERB", /** adposition (preposition or postposition) */ ADP = "ADP", /** auxiliary */ AUX = "AUX", /** coordinating conjunction */ CCONJ = "CCONJ", /** determiner */ DET = "DET", /** numeral */ NUM = "NUM", /** pronoun */ PRON = "PRON", /** particle */ PART = "PART", /** subordinating conjunction */ SCONJ = "SCONJ", /** punctuation */ PUNCT = "PUNCT", /** symbol */ SYM = "SYM", /** other */ X = "X" } /** Conversion to the string value used by the API. */ export declare function UPosToStr(upos: UPos): string; /** Conversion from a [string][posStr]; with [X] as a fallback for unknown values. */ export declare function UPosFromStr(posStr: string): UPos;