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: return CandidateData #95

Closed danielnaber closed 6 years ago

danielnaber commented 6 years ago

It would be nice if Speller.findReplacements() would not only return strings, but CandidateData. Use case: we want to sort suggestions on our own, using 3-gram data. But for that we need to make sure that the suggestions close to the original word are still preferred.