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

Speller uses CharsetDecoder inefficiently and incorrectly #75

Open dweiss opened 8 years ago

dweiss commented 8 years ago

The way CharsetDecoder is used inside findRepl is incorrect and inefficient. I don't understand this code fully enough to fix it though.