neuralcoref icon indicating copy to clipboard operation
neuralcoref copied to clipboard

Allowing for custom blacklist

Open anamamatelashvili opened this issue 5 years ago • 6 comments

Hi,

Thanks a lot for this amazing extension to spaCy. I have used it in a project and it was very helpful.

I was wondering if it is possible to add a feature where one can pass a custom list for the blacklist parameter.

For instance: If blacklist is enabled

nlp("I really liked that ice cream. My dog did not.")._.coref_resolved

returns "I really liked that ice cream. My dog did not." unchanged.

However, 'we', 'out', 'us' are not in the blacklist, so,

nlp("We really liked that ice cream. Our dog did not.")._.coref_resolved

returns "We really liked that ice cream. We dog did not."

It would be very helpful if it was possible to customise the blacklist.

anamamatelashvili avatar May 13 '19 03:05 anamamatelashvili

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 12 '19 04:07 stale[bot]

Reopening as I think this could indeed be a useful feature!

svlandeg avatar Sep 24 '19 07:09 svlandeg

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 23 '19 07:11 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 28 '20 22:12 stale[bot]

It would be a useful feature. Sometimes it also recognize himself, myself as main or mention, which is rediculous.

lininglouis avatar Feb 28 '21 16:02 lininglouis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 04:04 stale[bot]