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

Passing in "paragraphs" to the GenNegEx can result in array out of bounds #1

Open
GoogleCodeExporter opened this issue Sep 29, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

I wasn't sure how else to contact developers for this project...

When inputting a paragraph instead of a sentence, certain paragraphs can
result in an ArrayOutOfBoundsException.  This results from multiple
identifications of various parts ([CONJ], [PREP], etc.) in different
sentences.  If the indexes passed to the substring() function when pulling
out the scope are inverted, the subtracted value is negative.

While this isn't a big issue, I have questions regarding the algorithm
overall.  What is the effect of passing in an entire paragraph as opposed
to a single sentence?

Original issue reported on code.google.com by [email protected] on 16 Jul 2009 at 7:17

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

No branches or pull requests

1 participant