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

SpellChecker processing fails with NegativeArraySizeException #1

Open
zesch opened this issue Mar 28, 2015 · 0 comments
Open

SpellChecker processing fails with NegativeArraySizeException #1

zesch opened this issue Mar 28, 2015 · 0 comments

Comments

@zesch
Copy link
Owner

zesch commented Mar 28, 2015

Reported by lisa.beinborn, Nov 17, 2014
Which dictionary do you use for the SpellChecker-Annotator? I tried it with the word list by J.Lawler (http://www-personal.umich.edu/~jlawler/wordlist.html). It worked well for some texts, but for others I get the following Exception during processing:
Caused by: java.lang.NegativeArraySizeException
at com.swabunga.spell.engine.SpellDictionaryASpell.getSuggestions(Unknown Source)
at com.swabunga.spell.engine.SpellDictionaryASpell.getSuggestions(Unknown Source)
at de.tudarmstadt.ukp.dkpro.core.jazzy.SpellChecker.process(SpellChecker.java:127)
at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasAnnotator_ImplBase.java:48)
at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:385)

I don't see any particular pattern in the texts for which the processing fails.

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