-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search with wildcard gives partial results, and not accurate #2030
Comments
As designed ,too much results will give user no help. users need to refine their input to get the result.
standard operation in search engine , called normalization.
wildcards-search is not a recommend way to search headword. Requirements about wildcards-search will be suspended |
Thanks @xiaoyifang for your feedback.
|
The whole logic of search may be rewrite in future. From your description .I think you may need two kinds of search , the prefix search and suffix search. |
@xiaoyifang: Thanks to clarifying the third point. |
goldendict-ng/src/wordfinder.hh Line 83 in b9ab7dc
need change the code. |
I am not sure if this is a proper bug, or a just a designed limit (since it occures also in Goldendic 1.5). But for my use it is certainly annoying. When I make a normal search using a wildcard, I get two outcomes that I consider anomalies.
First, the search result box shows only a limited number of words (40), even though there would be in reality much more (hundreds) results. If it is not a bug, but a designed limit, can it be changed?
Second, when I search for instance in Italian dictionaries (where some words have accent), the term: *ità, among the limited results (see above) there are many words that contain "ita" not "ità", i.e. equating the "a" with and without accent. Moreover the "ita" or "ità" are not the final string of letters but it could be a string in the middle of the word, like "digitale" (digital).
Behaviour reproduction
To reproduce the first issue and partially the second (I do not know words with accent in English: to reproduce it one can use the Italian example I gave above), I had active LDOCE5 (i.e. Longman Dictionary), but the issue occures with any dictionary.
Expected results
I would instead expect:
OS and software versions
Win 10 professional
Portable version of:
Goldendict-ng 24.09.1.ca9dd133 at 2024-11-04T21:40:19Z
Qt 6.7.2 Visual C++ Compiler 194134123 windows winnt 10.0.19044 x86_64-little_endian-llp64
Flags: MAKE_ZIM_SUPPORT MAKE_CHINESE_CONVERSION_SUPPORT NO_TTS_SUPPORT no_ffmpeg_player
The text was updated successfully, but these errors were encountered: