Skip to content

Quote Annotator IndexOutOfBoundsException #1118

@allenkim

Description

@allenkim

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions