File tree 1 file changed +14
-0
lines changed 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,12 @@ at [`logging.config` documentation page](https://docs.python.org/3.6/library/log
91
91
value - ` 30 ` . This timeout does not apply when evaluating models either
92
92
through the ` /query ` method, or using the ` tabpy.query(...) ` syntax with
93
93
the ` /evaluate ` method.
94
+
95
+ ` [nltk] ` parameters:
96
+
97
+ - ` NLTK_DOWNLOAD_PATH ` - Set the NLTK download path. Defaul '~ /nltk_data'.
98
+ - ` NLTK_PROXY ` - Set the proxy server used for for NLTK ` nltk.download() ` .
99
+
94
100
95
101
### Configuration File Example
96
102
@@ -130,6 +136,14 @@ settings._
130
136
# The value should be a float representing the timeout time in seconds.
131
137
# TABPY_EVALUATE_TIMEOUT = 30
132
138
139
+ [nltk]
140
+ # Set the download directory for nltk downloads.
141
+ # NLTK_DOWNLOAD_PATH = ~/nltk_data
142
+
143
+ # If TabPy is behind a proxy and it needs to connect to the internet for
144
+ # some tasks, you can define a proxy here.
145
+ # NLTK_PROXY = http://proxy:3128
146
+
133
147
[loggers]
134
148
keys =root
135
149
You can’t perform that action at this time.
0 commit comments