Skip to content

Quote Annotator IndexOutOfBoundsException #1118

New issue

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

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

Already on GitHub? # to your account

Closed
allenkim opened this issue Dec 16, 2020 · 2 comments
Closed

Quote Annotator IndexOutOfBoundsException #1118

allenkim opened this issue Dec 16, 2020 · 2 comments

Comments

@allenkim
Copy link

allenkim commented Dec 16, 2020

Hello,

I came across a strange issue when trying to run the CoreNLP pipeline for quote annotation.

I am getting an IndexOutOfBoundsException: Index -1 out of bounds for length 8. when trying to run the pipeline on the following small sample text:

"Bob."\n\n"What."

The quotes are part of the input string. I was just wondering if there was something from my end that was wrong or if it is a library issue. I am invoking CoreNLP from the stanza python package with annotators = tokenize,ssplit,pos,lemma,ner,depparse,coref,quote,entitylink

This is with the latest version 4.2.0.

Any help would be appreciated! Thank you!

@AngledLuffa
Copy link
Contributor

Thanks for pointing this out! It is very clearly a bug on our end. I am fixing it with this:

#1121

@allenkim
Copy link
Author

allenkim commented Jan 4, 2021

Thanks. I appreciate the fast fix!

@allenkim allenkim closed this as completed Jan 4, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants