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
186 stars 44 forks source link

fix replaceRunOnWords() not working for words that are uppercase at sentence start #101

Closed danielnaber closed 5 years ago

danielnaber commented 5 years ago

Speller.replaceRunOnWords() doesn't seem to work for words like Everytime, i.e. it doesn't suggest Every time, whereas everytime correctly suggests every time. This tries to fix that.

dweiss commented 5 years ago

Hi Daniel! :) I know nothing about the speller, but I'll take a look.

dweiss commented 5 years ago

I've applied a few cosmetic refactorings to make the code more transparent, but otherwise it looks good.

danielnaber commented 5 years ago

Thanks. Is there a plan to make a new release anytime soon?

dweiss commented 5 years ago

Err.... Monday? Or sooner if I get a minute.

dweiss commented 5 years ago

Ok, I've pushed a release right away; should be on central soon.

danielnaber commented 5 years ago

Thank you, I have added it to LanguageTool already.