acl2020-transition-discontinuous-ner icon indicating copy to clipboard operation
acl2020-transition-discontinuous-ner copied to clipboard

only discontinuous mentions are considered

Open YuhongLIN4131 opened this issue 2 years ago • 2 comments

When only discontinuous mentions are considered, does it mean that the test only contains sentences with discontinuous mentions?

YuhongLIN4131 avatar May 13 '22 09:05 YuhongLIN4131

'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

dainlp avatar May 13 '22 09:05 dainlp

I got it. Thank you very much for your reply.

YuhongLIN4131 avatar May 13 '22 09:05 YuhongLIN4131