Closed kusumlata123 closed 1 year ago
It means the mention spans over 2 sentences. You might need to check if your sentence segmentation or mention span is correct or not.
Indeed. The assumption of all the formats in this repository is that each mention must be contained in a sentence, and can't span over several sentences.
AssertionError ython3 jsonlines2conll.py -g testing/test.hindi.jsonlines -o ouput.conll Traceback (most recent call last): File "jsonlines2conll.py", line 156, in
main()
File "jsonlines2conll.py", line 145, in main
jsonlines2conll(
File "jsonlines2conll.py", line 88, in jsonlines2conll
conll_transform.textpos2sentpos(mentions, sents)
File "/home/dr/Desktop/corefconversion-master/conll_transform.py", line 274, in textpos2sentpos
assert sent_start == sent_stop
AssertionError