Open peblair opened 3 years ago
Sorry for my late reply and thank you for your interest in our work.
As to your first question (the meaning of the with_coref and findcoref functions), I suggest you to refer to the paper Deep Joint Entity Disambiguation with Local Neural Attention_ (Please read the third paragraph in the Section 6 Candidate Selection).
As to your second question about the Teresa example, my explanation is that any coreference method could introduce some loss, though it may introduce more accuracy.
Hello,
I am trying to understand the
with_coref
andfind_coref
functions in the dataset loader. Roughly speaking, it appears that the goal offind_coref
is to do the following (in pseudo-code):The results of
find_coref
are then used to overwritecur_m
's candidate list. This is a bit confusing to me, though, since theBUT ...
above means that the candidates which were previously inside ofcur_m
's candidate list are lost (or at least potentially lost). Is this intentional? If so, can you explain whatwith_coref
is intended to accomplish?For example, on a local modification of this repository, I found that the gold entity (
Teresa
) is dropped from the list of candidates (I've verified in the AIDA train CSV [line 2426] that this is indeed the correct gold entity for this mention):Any help on understanding this would be very useful. Thanks!