Skip to content

Commit

Permalink
fixed spacy language map issue (#72)
Browse files Browse the repository at this point in the history
* fixed spacy language map issue

* fixed spacy version

* fixed spacy reqs

* changed to greater than spacy 3.0.6 in reqs

Co-authored-by: McClain Thiel <mthiel@nference.com>
  • Loading branch information
McClain98 and McClain Thiel authored Jul 2, 2021
1 parent c0b5db0 commit e6cbade
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions quickumls/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@
}

SPACY_LANGUAGE_MAP = {
'ENG': 'en',
'GER': 'de',
'SPA': 'es',
'POR': 'pt',
'FRE': 'fr',
'ITA': 'it',
'DUT': 'nl',
'ENG': 'en_core_web_sm',
'GER': 'de_core_news_sm',
'SPA': 'es_core_news_sm',
'POR': 'pt_core_news_sm',
'FRE': 'fr_core_news_sm',
'ITA': 'it_core_news_sm',
'DUT': 'nl_core_news_sm',
'XXX': 'xx'
}
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
leveldb>=0.193
numpy>=1.8.2
spacy>=1.6.0
spacy>=3.0.6
unidecode>=0.4.19
nltk>=3.3
quickumls_simstring>=1.1.5r1
unqlite>=0.8.1
unqlite>=0.8.1

0 comments on commit e6cbade

Please sign in to comment.