UNPKG

geneea-nlp-client

Version:

The TypeScript Client for Geneea Interpretor G3 API.

103 lines (102 loc) 2.72 kB
/** * Universal syntactic dependencies V2 and V1. * See http://universaldependencies.org/u/dep/all.html */ export declare enum UDep { /** nominal subject */ NSUBJ = "nsubj", /** object (V2) */ OBJ = "obj", /** indirect object */ IOBJ = "iobj", /** oblique nominal (V2) */ OBL = "obl", /** vocative */ VOCATIVE = "vocative", /** expletive */ EXPL = "expl", /** dislocated elements */ DISLOCATED = "dislocated", /** nominal modifier */ NMOD = "nmod", /** appositional modifier */ APPOS = "appos", /** numeric modifier */ NUMMOD = "nummod", /** clausal subject */ CSUBJ = "csubj", /** clausal complement */ CCOMP = "ccomp", /** open clausal complement */ XCOMP = "xcomp", ADVCL = "advcl", /** adverbial clause modifier */ ACL = "acl", /** clausal modifier of noun (adjectival clause) */ /** adverbial modifier */ ADVMOD = "advmod", /** discourse element */ DISCOURSE = "discourse", /** adjective modifier */ AMOD = "amod", /** auxiliary */ AUX = "aux", /** */ COP = "cop", /** */ MARK = "mark", /** determiner */ DET = "det", /** classifier (V2) */ CLF = "clf", /** case marking */ CASE = "case", /** conjunct */ CONJ = "conj", /** coordinating conjunction */ CC = "cc", /** fixed multiword expression (V2) */ FIXED = "fixed", /** flat multiword expression (V2) */ FLAT = "flat", /** compound */ COMPOUND = "compound", /** list */ LIST = "list", /** parataxis */ PARATAXIS = "parataxis", /** orphan (V2) */ ORPHAN = "orphan", /** goes with */ GOESWITH = "goeswith", /** overridden disfluency */ REPARANDUM = "reparandum", /** punctuation */ PUNCT = "punct", /** root */ ROOT = "root", /** unspecidied dependency */ DEP = "dep", /** passive auxiliary (V1) */ AUXPASS = "auxpass", /** clausal passive subject (V1) */ CSUBJPASS = "csubjpass", /** direct object (V1; in V2 as obj) */ DOBJ = "dobj", /** foreign words (V1) */ FOREIGN = "foreign", /** multi-word expression (V1) */ MWE = "mwe", /** name (V1) */ NAME = "name", /** negation modifier (V1) */ NEG = "neg", /** passive nominal subject (V1) */ NSUBJPASS = "nsubjpass", /** remnant in ellipsis (V1) */ REMNANT = "remnant" } /** Conversion to the string value used by the API. */ export declare function UDepToStr(udep: UDep): string; /** Conversion from a [string][depStr]; with [DEP] as a fallback for unknwon values. */ export declare function UDepFromStr(depStr: string): UDep;