Skip to content
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

Choosing main cluster before resolve #333

Open
EdenAnteby opened this issue Jan 29, 2022 · 0 comments
Open

Choosing main cluster before resolve #333

EdenAnteby opened this issue Jan 29, 2022 · 0 comments

Comments

@EdenAnteby
Copy link

Hey

In my use case, I need the main cluster value to be the longest mentioned value in the cluster.
I've checked the output of my doc._.coref_clusters:

Medable: [Medable, Medable],
Gond: [Medable CEO and co-founder Michelle Gond, Gond]]

I've tried to set the value of:
doc._.coref_clusters[1].mentions[1]._.coref_cluster.main = MyChosenString
and then calling doc._.coref_resolved again, but no luck.

Is it something I can control? Should I just create my own 'coref_resolved' method based on the clusters?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant