Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Craft to CoNLL error for conversion #31

Open
rafsanahmed opened this issue Mar 22, 2023 · 0 comments
Open

Craft to CoNLL error for conversion #31

rafsanahmed opened this issue Mar 22, 2023 · 0 comments

Comments

@rafsanahmed
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant