-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdep_arcs.py
65 lines (65 loc) · 1.55 KB
/
dep_arcs.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
DEPARCS = {
0:None,
1: 'self', # point to itself
2: 'acomp', #clausal modifier of noun: adjectival clause,
3: 'advmod', #' adverbial clause modifier,
4: 'agent', #' adverbial modifier,
5: 'amod', #' adjectival modifier,
6: 'appos', #' appositional modifier,
7: 'aux', #' auxiliary,
8: 'auxpass', #' case marking,
9: 'cc', #' coordinating conjunction,
10: 'conj', #' ,
11: 'cop', #' copula ,
12: 'dep', #' conjunct,
13: 'det', #' determiner,
14: 'discourse', #' discourse element,
15: 'dobj', #' dislocated elements,
16: 'expl', #' expletive
17: 'goeswith', #' relations linked two parts
18: 'iobj', #' indirect object,
19: 'mark', #' goes with,
20: 'mwe', #' multiword expression
21: 'neg', #' list,
22: 'nn', #' marker,
23: 'npadvmod', #' np as adverbial modifier
24: 'num', #' numeric modifier,
25: 'number', #' element of compund num
26: 'parataxis', #
27: 'pcomp', # prepositional comp
28: 'pobj', # object of preposition
29: 'poss', # possession modifier
30: 'possessive', # possessive modifier
31: 'preconj', # preconjunct
32: 'predet', # predeterminer
33: 'prep',
34: 'prepc', # prepositional clausal modifer
35: 'prt', # phrasal verb particle
36: 'quantmod', #quatifier phrase modifier
37: 'rcmod', # relative clause modifier
38: 'ref',
39: 'tmod',
40: 'vmod',
41: 'xcomp',
42: 'obj',
43: 'obl',
44: 'fixed',
45: 'case',
46: 'nmod',
47: 'clf',
48: 'compound',
49: 'dislocated',
50: 'flat',
51: 'list',
52: 'nummod',
53: 'orphan',
54: 'punct',
55: 'reparandum',
56: 'vocative',
57: 'acl',
58: 'nsubj',
59: 'neighbor',
60: 'csubj',
61: 'advcl',
62: 'ccomp',
}