hu-ner/huner

Craft to CoNLL error for conversion

rafsanahmed opened this issue · 0 comments

craft_to_conll script gives an index out of range issue when it uses the opennlp wrapper the following:

spaces = self.sentence_offsets[id+1]-self.sentence_offsets[id]-len(self.sentences[id])

in the merge sentences function. How does this work? Is this an oversight?