Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compatible with spaCy v2.1.0? #1

Open
emilmuller opened this issue Jun 18, 2019 · 0 comments
Open

Not compatible with spaCy v2.1.0? #1

emilmuller opened this issue Jun 18, 2019 · 0 comments

Comments

@emilmuller
Copy link

Not sure if it's my installation, or the core model:

Python 3.6.7 (default, Oct 22 2018, 11:32:17) 
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import spacy
>>> nb_core = spacy.load("nb_core_news_sm")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/emil/.local/lib/python3.6/site-packages/spacy/__init__.py", line 27, in load
    return util.load_model(name, **overrides)
  File "/home/emil/.local/lib/python3.6/site-packages/spacy/util.py", line 131, in load_model
    return load_model_from_package(name, **overrides)
  File "/home/emil/.local/lib/python3.6/site-packages/spacy/util.py", line 152, in load_model_from_package
    return cls.load(**overrides)
  File "/home/emil/.local/lib/python3.6/site-packages/nb_core_news_sm/__init__.py", line 12, in load
    return load_model_from_init_py(__file__, **overrides)
  File "/home/emil/.local/lib/python3.6/site-packages/spacy/util.py", line 190, in load_model_from_init_py
    return load_model_from_path(data_path, meta, **overrides)
  File "/home/emil/.local/lib/python3.6/site-packages/spacy/util.py", line 171, in load_model_from_path
    component = nlp.create_pipe(name, config=config)
  File "/home/emil/.local/lib/python3.6/site-packages/spacy/language.py", line 256, in create_pipe
    raise KeyError(Errors.E108.format(name=name))
KeyError: "[E108] As of spaCy v2.1, the pipe name `sbd` has been deprecated in favor of the pipe name `sentencizer`, which does the same thing. For example, use `nlp.create_pipeline('sentencizer')`"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant