In the below code snippet, we are iterating over all prefixes. Can we use LevenshteinSearcher style to lookup candidates up to certain edit distance with combination of error model probabilities.
Changes required to support “Phrase based” error probabilities. I have come across this but not sure how this can be fit in current settings.