-
Notifications
You must be signed in to change notification settings - Fork 16
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
type object 'EnglishDefaults' has no attribute 'tag_map' #8
Comments
Thanks for the report @karthikeyansam! I haven't had time to port this repo to spacy v3 but it is on my to-do list. I'll probably have time to do so somewhere in June. |
Hey @BramVanroy, can I pick this one up? My plan is to use the in-built default |
Sounds good! Do make sure you build in a check that outputs |
Ok, so I initially thought this was a quick fix and I could contribute to the library but I was wrong. The most minimal way to fix the issue and use the library with spaCy>3.0 (and how I ended up using it in my project) would be to change the A minimal example:
Updated
So what does not work for the upgrade to spaCy-v3:
Thanks for the library! It saved me a good amount of time. I will look to address the above issues when I get some time but they might take longer than I had initially anticipated so if anyone else wants to pick this up I hope my comments would prove helpful. Meanwhile, people can work around with changed |
Thanks for the comments nevertheless @narayanacharya6. I have indeed been holding off refactoring for v3 because the changes are subtle but relatively far-going - for which I do not have the time currently. My hope is that If you can wait until June, there is no need for you to take on this PR. I will work on it then. I will also create contributing guidelines. To be honest, I did not think this library would get a lot of usage but it seems I was wrong. I'll try to make it more open for contributions. |
Hi @karthikeyansam @narayanacharya6 Can you try the current master branch or the pre-release on pip? pip uninstall spacy_conll
pip install spacy_conll --pre I'll let this pre-release out in the wild for a week or so before pushing it as the production version. If you experience any issues, please let me know! |
Hey @BramVanroy, I'll try it out over the weekend, thanks! :) |
Hey @BramVanroy I finally got a chance to update to the new version. Pretty straightforward to pull out my hacks and use the lib as intended. No issues so far, thanks! |
when using spacy 3.0.6 I am getting below error
type object 'EnglishDefaults' has no attribute 'tag_map'
only changes is instead of loading linked
en
model I have loadeden_core_web_sm
The text was updated successfully, but these errors were encountered: