jiesutd / NCRFpp

NCRF++, a Neural Sequence Labeling Toolkit. Easy use to any sequence labeling tasks (e.g. NER, POS, Segmentation). It includes character LSTM/CNN, word LSTM/CNN and softmax/CRF components.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

metric on "span" level instead of on token level of iob

myeghaneh opened this issue · comments

hi, how can we have a metric on span level? is there any way to use that? (my labels are Claim and Premise)

I mean, I have a result on iob tokens like

'B-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'I-P', 'O', 'O', 'O', 'O', 'O', 'B-C', 'I-C', 'I-C', 'I-C', 'I-C', 'I-C', 'I-C', 'I-C', 'I-C', 'I-C', 'O'`

how can I find the result on the Claim and Premise span?