Commit 478e0c1
committed
anno: add entity_type to RankedMention and type-incompatibility filter
Coref mention ranking now carries NER entity_type on RankedMention,
and the scoring function penalizes merging semantically incompatible
mentions (e.g., "Nobel Prize" with "Marie Curie") using a
NON_PERSON_INDICATORS list.1 parent 3c2a28f commit 478e0c1
File tree
2 files changed
+107
-0
lines changed- crates/anno/src/backends/coref/mention_ranking
2 files changed
+107
-0
lines changed
0 commit comments