Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.6.15
FROM python:3.8.12
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y wget build-essential curl nginx supervisor
Expand Down
2 changes: 1 addition & 1 deletion nltk_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import nltk

NLTK_RESOURCES = ['punkt', 'wordnet', 'maxent_treebank_pos_tagger', 'averaged_perceptron_tagger']
NLTK_RESOURCES = ['punkt', 'wordnet', 'maxent_treebank_pos_tagger', 'averaged_perceptron_tagger', 'omw', 'omw-1.4']


def download_nltk_resources():
Expand Down
21 changes: 10 additions & 11 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Python-C stuff
Cython==0.28.2
six==1.15.0
Cython==0.29.28
six==1.16.0

# WSGI compatible server
uwsgi==2.0.19.1
Expand All @@ -10,23 +10,23 @@ botocore==1.21.35
s3transfer==0.5.0
boto3==1.18.35

scipy==1.4.1
numpy==1.19.2
pandas==1.0.5
scipy==1.8.0
numpy==1.21.0
pandas==1.4.1

urllib3==1.26.5
requests==2.26.0
requests-aws4auth==0.9
Django==3.2.12

elasticsearch==5.5.3
nltk==3.4.5
nltk==3.6.6
phonenumberslite==8.10.18
pyaml==19.4.1
python-dateutil==2.7.3
python-dateutil==2.8.1
pytz==2020.1
regex==2020.7.14
weighted-levenshtein==0.1
regex==2021.8.3
weighted-levenshtein==0.2.1
word2number==1.1

# Spacy and models
Expand All @@ -50,5 +50,4 @@ nose-exclude==0.5.0

# Other convenience libs, ideally should only be installed in dev
flake8==3.4.1
jedi==0.17.2
ipython==7.16.3
ipython==8.0.1