sense2vec with spacy nightly

Open
#119 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reproducing the import failure with spaCy nightly and inspect sense2vec's import of spacy.component. Compare that import with the spaCy v3 API and identify the broader compatibility surface before deciding whether a focused fix or rewrite is required. Done means sense2vec's compatibility scope is established and the issue has a clear implementation path.

Written by the indexing model from the issue text.

Description

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?

Dominant language
Python
Stars
1.7k
Forks
236
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from explosion/sense2vec

All issues in explosion/sense2vec

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.