I am evaluating the neural coref library and it seems to works for the examples provided but for the cases where the noun is mentioned after the pronoun, it does not work. Maybe I am missing something?
doc3 = nlp(u'we want to make it accessible for every business. That’s our mission at xyz.')
print(doc3._.hascoref)
print(doc3..corefclusters)
for ent in doc3.ents:
print(ent)
print(ent..coref_cluster)
Output:
True
[we: [we, our]]
xyz
None
I am expecting the xyz to be coreference as [we, our] which is not the case.
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.
Hi all,
I am evaluating the neural coref library and it seems to works for the examples provided but for the cases where the noun is mentioned after the pronoun, it does not work. Maybe I am missing something?
doc3 = nlp(u'we want to make it accessible for every business. That’s our mission at xyz.')
print(doc3._.hascoref) print(doc3..corefclusters) for ent in doc3.ents: print(ent) print(ent..coref_cluster)
Output:
True [we: [we, our]] xyz None
I am expecting the xyz to be coreference as [we, our] which is not the case.
Please suggest.