morfologik / morfologik-stemming

Tools for finite state automata construction and dictionary-based morphological dictionaries. Includes Polish stemming dictionary.
BSD 3-Clause "New" or "Revised" License
187 stars 44 forks source link

Add candidates as they are in the dictionary, not mixed-case versions #17

Closed jaumeortola closed 10 years ago

jaumeortola commented 10 years ago

Currently mixed-case words (misspelled!) can be added as candidates. This should not be possible.

dweiss commented 10 years ago

Marcin, you could review and accept the pull request? You're more familiar with the speller.

milekpl commented 10 years ago

OK, will do later today.

milekpl commented 10 years ago

Jaume, this is fine but I'd appreciate test cases for your changes so that we make sure it doesn't break when we change the code in the future (to make sure there are no regressions). Just add some tests in SpellerTest.java, OK?