Skip to content

Commit

Permalink
Download Stopwords for NLTK
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudertier committed Aug 7, 2023
1 parent e274cf7 commit cd5c83c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion paperless-ngx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ RUN python3 -m pip install --upgrade pip supervisor setuptools
RUN env QPDF_SOURCE_TREE=/qpdf
RUN python3 -m pip install --no-cache-dir -r requirements.txt

RUN python3 -m nltk.downloader stopwords
# Download NLTK Stopwords
RUN [ "python3", "-c", "import nltk; nltk.download('all' download_dir='/usr/share/nltk_data')" ]

#### Redis Setup
RUN apt-get install redis-server redis-tools -y
Expand Down
2 changes: 1 addition & 1 deletion paperless-ngx/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Paperless-ngx",
"version": "1.17.5",
"version": "1.17.6",
"slug": "paperless",
"url": "https://github.com/paperless-ngx/paperless-ngx",
"description": "Paperless is an application that manages your personal documents. With the help of a document scanner, paperless transforms your wieldy physical document binders into a searchable archive and provides many utilities for finding and managing your documents.",
Expand Down

0 comments on commit cd5c83c

Please sign in to comment.