aard2-android icon indicating copy to clipboard operation
aard2-android copied to clipboard

[FR] fuzzy search

Open ildar opened this issue 10 years ago • 3 comments

Example: currently searching the word tumb doesn't show thumb which is probable especially when literally tumb cannot be found. It would be nice to see Aard have the fuzzy search. Also maybe it's a good time to remind the https://github.com/aarddict/android/issues/69

ildar avatar Feb 13 '15 19:02 ildar

The place to implemented this is probably dictionary compilers rather than the application itself. Process that creates dictionary can have access to any available word data and include/generate relevant elements to complement basic lookup keys. Doing so on mobile device seems problematic. What may be useful to implement in the app itself is the ability to pair a regular dictionary with an "index" dictionary which stores just pointers to content. This woud allow to optionally add fuzzy or full-text (based, for example, on Xapian generated index) search to existing dictionaries.

itkach avatar Feb 28 '15 20:02 itkach

related info: https://en.wikipedia.org/wiki/Approximate_string_matching https://en.wikipedia.org/wiki/Levenshtein_distance

ccaid avatar Mar 05 '15 16:03 ccaid

Hi @itkach

Iam sure this request is related to the app itself, because there is already apps that support this function while the dictionary file is not.

E.g of these apps is bluedict (for mdx files), goldendict (for stardict files), and kiwix (for zim files) N.B: zim files may contain xapian file index, but mdx and stardict files not. N.B: I think fuzzy search is not about correcting the wrong words, it's about searching in any part of the entry word or sentence!!

Could you just try implement this function with your amazing app?

Please we need this function urgently 🙏

I like your app so much, I have converted many dictionaries to slob, and I can share them if you want.

sobaee avatar Sep 28 '20 15:09 sobaee