Skip to content

Commit

Permalink
Updated the experimental spacy model to be compatbile with spacy 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aajanki committed Apr 9, 2022
1 parent 5b5c374 commit e104841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nlpmodels.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def initialize(self):
self.nlp = spacy.load('spacy_fi_experimental_web_md')

def parse(self, texts):
return process_spacy(self.nlp, texts)
return process_spacy(self.nlp, texts, ['ner', 'parser'])


class SpacyCoreFi:
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ matplotlib==3.5.1
seaborn==0.11.2
spacy-udpipe==1.0.0
spacy==3.3.0.dev0
https://github.com/aajanki/spacy-fi/releases/download/v0.10.0b1/spacy_fi_experimental_web_md-0.10.0b1-py3-none-any.whl
https://github.com/explosion/spacy-models/releases/download/fi_core_news_sm-3.3.0a0/fi_core_news_sm-3.3.0a0-py3-none-any.whl
https://github.com/explosion/spacy-models/releases/download/fi_core_news_md-3.3.0a0/fi_core_news_md-3.3.0a0-py3-none-any.whl
https://github.com/explosion/spacy-models/releases/download/fi_core_news_lg-3.3.0a0/fi_core_news_lg-3.3.0a0-py3-none-any.whl
Expand Down

0 comments on commit e104841

Please sign in to comment.