Skip to content

Commit

Permalink
tableau#467 Update server-config.md to include nltk config options
Browse files Browse the repository at this point in the history
  • Loading branch information
ElPincheTopo authored Jan 14, 2021
1 parent d6f337a commit 643fa6c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/server-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@ at [`logging.config` documentation page](https://docs.python.org/3.6/library/log
value - `30`. This timeout does not apply when evaluating models either
through the `/query` method, or using the `tabpy.query(...)` syntax with
the `/evaluate` method.

`[nltk]` parameters:

- `NLTK_DOWNLOAD_PATH` - Set the NLTK download path. Defaul '~/nltk_data'.
- `NLTK_PROXY` - Set the proxy server used for for NLTK `nltk.download()`.


### Configuration File Example

Expand Down Expand Up @@ -130,6 +136,14 @@ settings._
# The value should be a float representing the timeout time in seconds.
# TABPY_EVALUATE_TIMEOUT = 30

[nltk]
# Set the download directory for nltk downloads.
# NLTK_DOWNLOAD_PATH = ~/nltk_data

# If TabPy is behind a proxy and it needs to connect to the internet for
# some tasks, you can define a proxy here.
# NLTK_PROXY = http://proxy:3128

[loggers]
keys=root

Expand Down

0 comments on commit 643fa6c

Please sign in to comment.