-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ini
87 lines (65 loc) · 2.16 KB
/
config.ini
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
81
82
83
84
85
86
87
[semantic_space]
; directory to search for semantic spaces
semspaces_dir = ./data/
; whether to load a semantic space after launch
; should be set to 'yes' if running as server
preload_space = no
; path to the space that will be preloaded if 'preload_space' is set to 'yes'
;
preload_space_file = ./data/english-lemmas-cbow-window.6-dimensions.300-ukwac_subtitle_en.w2v.gz
; 'ssmarket' or 'csv'
preload_space_format = csv
; prenormalizetion
; yes - normalize all vectors to have vectors of length 1
; (speeds up computation of cosine distances but does not allow
; to compute other metrics)
; no - do not normalize
prenormalize = no
; which numpy dtype to use
numpy_dtype = float32
; the maximum size of the similarity matrix that can be computed
;
; if -1 no limit otherwise let users generate matrices of the size
; m * n = matrix_size_limit
;
matrix_size_limit = -1
; allow changing the loaded space
; yes - do not allow users to change space
; no - let users change space
; must be set to no if running as a web server
allow_space_change = yes
[server]
; url path prefix
; for example, to put snaut on http://localhost:port/snaut
; root_prefix = /snaut
root_prefix =
; directory to serve documention from
; should contain a help.md file that is rendered as documentation
;
; documentation that is more appropriate for server use can be found in:
; doc_dir = ./doc/server/
;
doc_dir = ./doc/local/
; directory to serve static resources from
static_dir = ./snaut/static/
; directory containing templates
template_dir = ./snaut/templates/
; name of the logger
; set to gunicorn.error to log to the gunicorn error log
log_name = snaut.logger
; logging level
; possible levels: debug, info, warning, error, critical
log_level = warning
; path to the log file
; do not log to file if empty
log_file = ./snaut.log
[server_local]
; the remaining options are used only when running snaut as a local application
; (not via gunicorn)
; host and port to use when running as a local instance
host = 0.0.0.0
port = 15100
; run in the debug mode
debug = no
; start the browser after launch
start_browser = yes