-
Notifications
You must be signed in to change notification settings - Fork 1
/
conf.sample.json
80 lines (79 loc) · 2.45 KB
/
conf.sample.json
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"listenAddress" : "127.0.0.1",
"listenPort": 8080,
"serverReadTimeoutSecs": 120,
"serverWriteTimeoutSecs": 60,
"trustedProxies": [],
"sourcesRootDir": ".",
"serverInfo": {
"serverHost": "my",
"serverPort": "80",
"database": "fcs",
"databaseTitle": {
"en": "CNC FCS"
},
"databaseDescription": {
"en": "CNC API for FCS"
},
"primaryLanguage": "en",
"externalUrlPath": ""
},
"corpora": {
"registryDir": "/var/opt/corpora/registry",
"resources": [
{
"id": "syn2020",
"pid": "syn2020",
"fullName": {"en": "syn2020", "cs": "syn2020"},
"description": {
"en": "A synchronous representative and reference corpus of contemporary written Czech, containing 100 million text words.",
"cs": "Synchronní reprezentativní a referenční korpus současné psané češtiny, obsahující 100 milionů textových slov."
},
"languages": ["ces"],
"uri": "http://wiki.korpus.cz/doku.php/cnk:syn2020",
"posAttrs": [
{
"name": "word",
"id": "attr1",
"layer": "text",
"isBasicSearchAttr": true,
"isLayerDefault": true
},
{
"name": "lemma",
"id": "attr2",
"layer": "lemma",
"isBasicSearchAttr": true
},
{
"name": "pos",
"id": "attr3",
"layer": "pos",
"isLayerDefault": true
},
{
"name": "tag",
"id": "attr4",
"layer": "pos"
}
],
"structureMapping": {
}
}
]
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"db": 7,
"password": "secret",
"channelQuery": "channel",
"channelResultPrefix": "res",
"queryAnswerTimeoutSecs": 15
},
"logging": {
"path": "",
"level": "debug"
},
"timeZone": "UTC"
}