Open YuhongLIN4131 opened 2 years ago
'Sentences with discontinuous mentions' and 'Discontinuous mentions only' are different.
'Evaluating Discontinuous mentions only ' looks like
for p in predictions:
if p is not discontinuous mention: continue
if p in golds:
tp += 1
else:
fp += 1
for g in golds:
if g is not discontinuous: continue
if g not in predictions:
fn += 1
Hope it is clear
I got it. Thank you very much for your reply.
When only discontinuous mentions are considered, does it mean that the test only contains sentences with discontinuous mentions?