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

sense2vec with spacy nightly #119

Open
forgetso opened this issue Aug 4, 2020 · 1 comment
Open

sense2vec with spacy nightly #119

forgetso opened this issue Aug 4, 2020 · 1 comment

Comments

@forgetso
Copy link

forgetso commented Aug 4, 2020

Is there any way to get sense2vec working with spacy nightly? Upon importing sense2vec I get the following error:

    from spacy import component
ImportError: cannot import name 'component' from 'spacy' (/home/user/anaconda3/envs/uniqueness/lib/python3.8/site-packages/spacy_nightly-3.0.0a5-py3.8-linux-x86_64.egg/spacy/__init__.py)

Has component been renamed to something else in spacy v3? Or are there much bigger changes to spacy that will require a rewrite of sense2vec?

@svlandeg
Copy link
Member

svlandeg commented Aug 4, 2020

Or are there much bigger changes to spacy that will require a rewrite of sense2vec?

Yep, this is the case ;-)

There have been quite some refactors, new & moved functionality in v.3. So I wouldn't be surprised at all if sense2vec will require a rewrite once a stable version of spaCy 3 is out...

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

2 participants