Giter Club home page Giter Club logo

spelling-experiments's Introduction

Spelling correction experiments

Code for spelling correction experiments (especially real-word spelling errors) related to the following papers:

  • Torsten Zesch. Measuring Contextual Fitness Using Error Contexts Extracted from the Wikipedia Revision History. In: Proceedings of the 13th Conference of the European Chapter of the Association for Computational Linguistics (EACL 2012), April 2012.
  • Torsten Zesch. Helping Our Own 2011: UKP Lab System Description. In: Proceedings of the Helping Our Own Working Group Session at the 13th European Workshop on Natural Language Generation, p. 260--262, September 2011.
  • Torsten Zesch and Jens Haase. HOO 2012 Shared Task: UKP Lab System Description. In: Proceedings of the Seventh Workshop on Innovative Use of NLP for Building Educational Applications at NAACL-HLT, p. 302-306, June 2012.

spelling-experiments's People

Contributors

reckart avatar zesch avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

spelling-experiments's Issues

SpellChecker processing fails with NegativeArraySizeException

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.