-
Notifications
You must be signed in to change notification settings - Fork 64
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
[BUG] compatibility issue with spacy v3 #48
Comments
This is due to changes introduced in spacy v3: https://nightly.spacy.io/usage/v3#migrating-add-pipe I've submitted a pull request to fix this issues. |
@virdiprateek as mentioned by @jonmun there might be some issues when using the package with spacy v3. As a temporary solution you can downgrade the spacy to v2.x (if possible for your use case). In the mean time I will check and merge #49 to fix the issue. Thanks you @jonmun for the PR!! |
@virdiprateek I have updated contextualSpellCheck 0.3.4 Please try to install the latest package and you will not face this issue. In the mean time I will work on spacy v3 compatibility which I hope to release in a couple of days. |
* Resolved #48 by migrating the code to match the nlp pipeline in spacy v3. See: https://nightly.spacy.io/usage/v3#migrating-add-pipe * updated tests in contextualSpellCheck.py to match the pipeline in spacy v3 * updated spacy dependency number * black lint * Update tests Co-authored-by: R1j1t <[email protected]>
* Update to spacyv3 (#49) * Resolved #48 by migrating the code to match the nlp pipeline in spacy v3. See: https://nightly.spacy.io/usage/v3#migrating-add-pipe * updated tests in contextualSpellCheck.py to match the pipeline in spacy v3 * updated spacy dependency number * black lint * Update tests Co-authored-by: R1j1t <[email protected]> * updated the type check based on PEP 3017 Ref: - https://stackoverflow.com/a/21384492/7630458 - https://docs.python.org/3/library/typing.html - https://www.python.org/dev/peps/pep-3107/ * updated README and controller * reflected changes in examples and other housekeeping * preparing for release * removed optional config from README usage Co-authored-by: jonmun <[email protected]>
I'm testing the way it's mentioned in the examples as follows:
Getting error:
Can you please suggest the fix for this??
The text was updated successfully, but these errors were encountered: