Skip to content

Commit

Permalink
Merge pull request #6 from OSM-DM-KGP/update-py-req
Browse files Browse the repository at this point in the history
Update python dependencies
  • Loading branch information
kaustubhhiware authored Apr 29, 2021
2 parents 5962b16 + 1c7355d commit 2d241bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

# import en_core_web_sm
# nlp = en_core_web_sm.load()
nlp=spacy.load('en')
nlp = spacy.load("en_core_web_sm")
np_labels=set(['nsubj','dobj','pobj','iobj','conj','nsubjpass','appos','nmod','poss','parataxis','advmod','advcl'])
subj_labels=set(['nsubj','nsubjpass','csubj','csubjpass'])
modifiers=['nummod','compound','amod','punct']
Expand Down
2 changes: 1 addition & 1 deletion location_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# import en_core_web_sm
# nlp = en_core_web_sm.load()
nlp=spacy.load('en')
nlp = spacy.load("en_core_web_sm")
tknzr=TweetTokenizer(strip_handles=True,reduce_len=True)
# import CMUTweetTagger

Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Flask==1.0.2
stop_words==2018.7.23
wordsegment==1.3.1
networkx==2.2
networkx==2.5.1
nltk==3.4
jellyfish==0.7.1
geocoder==1.38.1
spacy==2.0.18
spacy==2.3.5
emoji==0.5.1
Flask-Cors==3.0.7
word2number==1.1
gunicorn==19.9.0
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.0.0/en_core_web_sm-2.0.0.tar.gz#egg=en_core_web_sm
https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz

0 comments on commit 2d241bf

Please sign in to comment.