forked from jmnybl/syntactic-ngram-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
16 lines (11 loc) · 793 Bytes
/
config.py
File metadata and controls
16 lines (11 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
### DEPENDENCY TYPES FOR EXTENDED NGRAMS ###
# jump over prepositions and take the prep_obj instead
ext_zero=u"prep".split() ## we don't have these in Finnish
# 'multiword expressions', include functional dependencies if head token is included (UD types: cc adpos case goeswith mwe cc:preconj preconj)
ext_inc=u"cc adpos case goeswith mwe cc:preconj preconj".split() ## adpos is always included because it's the Finnish version of prep
#other functional dependencies (UD types: det ps complm prt neg aux auxpass mark compound:prt punct)
ext_special=u"det ps complm prt neg aux auxpass mark compound:prt punct".split()
# coordination types (UD types: conj)
coords=u"conj".split()
# coordinating conjunctions (UD types: cc, cc:preconj, preconj)
coord_conjs=u"cc cc:preconj preconj".split()