forked from andreasvc/activedop
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsettings.cfg
38 lines (38 loc) · 1007 Bytes
/
settings.cfg
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
SECRET_KEY=b';boc.xbanuh;qdaoeiq'
DEBUG = False
GRAMMAR = 'cgelbank2-punct/'
SENTENCES = 'newsentsExample.csv'
LIMIT = 70
ANNOTATIONHELP = None
ACCOUNTS = {
'JoeAnnotator': 'example',
'SecondAnnotator': 'example',
}
# punctuation labels based on the Penn Treebank tagset [from nltk.help.upenn_tagset()]
PUNCT_TAGS = {
# opening parenthesis
"(": "(", "[" : "(", "{": "(",
# closing parenthesis
")": ")", "]": ")", "}": ")",
# sentence terminator
".": ".", "!": ".", "?": ".",
# colon or ellipsis
":": ":", ";": ":", "...": ":",
# comma
",": ",",
# dash
"-": "HYPH", "--": "HYPH",
# opening quotation mark
"``": "``", "`": "``", "“": "``",
# closing quotation mark
"''": "''", "'": "''", "”": "''"
}
SYMBOL_TAG = "*"
AMBIG_SYM = {
"$", "#", "%", # typically N-Head
"@", # typically P-Head
"&", "-", "/" # typically Coordinator-Marker
}
INITIAL_PUNCT_LABELS = {'(-p', '[-p', '{-p', '``-p'}
FUNCTIONTAGWHITELIST = ['Subj+PCComp', 'Obj+PCComp', 'Head+PCComp', 'p']
CGELVALIDATE = True