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

solved bug with replacement pairs and distance=2 #31

Closed jaumeortola closed 10 years ago

jaumeortola commented 10 years ago

This solves a bug when using replacement pairs with max distance=2. Previously the distance was not calculated when the replacement took place at the end of a word.