Hi @Baskerville I think dictionary lookup can be improved a lot if you simply enable fuzzy search by default. For example, I'm using the gnu stardict for English and search fails if I search for plural nouns, e.g., "standards" will fail, but if I turn on fuzzy search, it finds it with no noticeable delay
With fuzzy search on, fuzzy hits will sometimes show up before exact hits, e.g., search "reify" and you get "deify" before "reify". So a simple improvement there is to sort the results by Lev distance, and if there is/are hit/s with distance zero, show only those.
If Lev distance function can be tweaked to prefer prefix matching, e.g. reifies preferred over deify as a match for reify, that will be another improvement. (You can probably safely ignore results where first letter doesn't match)
You're going to get a bunch of spurious results by enabling fuzzy search by default, but seems to me it's preferable to getting nothing, because when you do a dict lookup, you want to find SOMEthing
|