Comments (11)
Got: ModelNotSupportedError: en_core_web_trf version 3.1.0
Hey @AleksandrTulenkov, have you figured out how to make the coreferee work for the en_core_web_trf = 3.1.0 model? I am having the same issue.
from coreferee.
Re: your comment on the Spacy thread. If this is in fact broken, I suppose I will be unable to use it.
from coreferee.
It works Ok as a native spacy model, for example with the NER task, but when I'm trying to add coref pipe I got the issue
from coreferee.
Hi everyone, I am currently working on adding support for Python 3.9 and spaCy 3.1 and the associated English and German models. I hope to release in the next couple of weeks. In the meantime, if you're feeling brave, you could also try downloading the development branch and installing it (python3 -m pip install .
then python3 -m coreferee install en
) from the downloaded root directory) which should now work.
from coreferee.
Thanks.
Also, out of curiosity, since in my case I am focusing on English accuracy as opposed to multilingual output, is it safer to stick with the old Spacy + neuralcoref? The multilingual support is great and Iād definitely use this in many cases, but I am concerned about stability and making sure the English results are good.
from coreferee.
I used Neuralcoref for several years before I decided to develop Coreferee mainly because I couldn't get Neuralcoref working with other languages. It's important to realize that Coreferee is aiming to find a somewhat more restricted range of coreference types than Neuralcoref is, largely because Coreferee was written for a particular purpose (see the README.md for more explanation). Although I haven't done a formal comparison, I would imagine the results are of broadly comparable quality for those coreference types that both libraries are aiming to capture.
One thing I would say is that Neuralcoref brings technical restrictions with it that you might find a pain: for example, I never found a way of serializing documents that contained Neuralcoref annotations. And I also wouldn't underestimate the difference in quality between the early versions of spaCy that Neuralcoref supports and modern versions: it is likely to be much more significant overall than the coreference library you are using.
from coreferee.
That makes sense. My use case is conversational English and I need something decently accurate for less-technical subjects, and it needs to run in real-time. I'm hoping Coreferee is fast.
I am trying to figure out how to turn the Coreferee results into a JSON to send over a network though, and the [index : []] format doesn't really conform to a Python or JS style object "shape." I wonder if there's some hidden to_json or serialization function that might make this easier(?)
from coreferee.
You could have a look at the serialization tests in https://github.com/msg-systems/coreferee/blob/master/tests/common/test_tech_common.py.
from coreferee.
Thanks. Last question: would it be a viable solution to call resolve on every token, or is it slow to call on tokens even if there is no coreference on them? I ask because maybe it's simplest just to send things that way since I probably want to have one "true" identifier per entity.
from coreferee.
Got: ModelNotSupportedError: en_core_web_trf version 3.1.0
Hey @AleksandrTulenkov, have you figured out how to make the coreferee work for the en_core_web_trf = 3.1.0 model? I am having the same issue.
For now, just using previos version :(
from coreferee.
I have just released version 1.1.0, which should have solved the problem.
from coreferee.
Related Issues (20)
- Word lists from Wordnet HOT 2
- Adding support for trf models without NER HOT 2
- Support for python 3.7 for google colab use HOT 3
- Not able to add spaCy pipw HOT 2
- Cannot install on Apple Silicon HOT 17
- Multithreading regression failure
- How to cite coreferee HOT 1
- spaCy 3.1, 3.2 models not supported HOT 3
- Cannot install dependency while pip install coreferee HOT 2
- Encountered an endless loop for some text HOT 1
- "zsh: illegal hardware instruction python -m coreferee install en" on MacOS 12.1 M1 HOT 3
- Documentation website? HOT 3
- retokenize can change the index values HOT 1
- Scores for each co-reference HOT 2
- Does spacy version>= 3.2.0 supported? HOT 2
- ModelNotSupportedError: en_core_web_lg version 3.1.0 error HOT 2
- coreferee.errors.ModelNotSupportedError: en_core_web_md version 3.1.0
- Resolved text HOT 1
- What about Noun phrases mentions? HOT 1
- PLEASE ADDRESS ANY NEW ISSUES TO https://github.com/explosion/coreferee HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coreferee.