huggingface / huggingface/neuralcoref
Choosing main cluster before resolve
Open
- Dominant language
- C
- Stars
- 2.9k
- Forks
- 467
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.