huggingface / neuralcoref

✨Fast Coreference Resolution in spaCy with Neural Networks
https://huggingface.co/coref/
MIT License
2.83k stars 474 forks source link

Feature Request #324

Open swaroop-nath opened 2 years ago

swaroop-nath commented 2 years ago

Hello. I would like to raise a feature request - Can you please add a parameter where we can specify what words we don't want removed? For instance -

Input context: After reading the mixed reviews of late I was a little tentative over our choice but luckily there was nothing to worry about in the food department. We started with the fried dough, burrata and prosciutto which were all lovely.

Coref_cluster: [our: [our, We]]

Coreference Resolved: After reading the mixed reviews of late I was a little tentative over our choice but luckily there was nothing to worry about in the food department. our started with the fried dough, burrata and prosciutto which were all lovely.

Using just greedyness as the parameter doesn't suffice for the entire task as a whole.