himselfv / wakan

Japanese and Chinese learning tool with dictionary
38 stars 7 forks source link

Modernize "Filter by meaning" #230

Closed himselfv closed 10 years ago

himselfv commented 10 years ago

Original report by me.

Originally reported on Google Code with ID 230

"Filter by meaning" is currently severely lacking:
- It cannot search case-insensitively (you have to match case)
- It sucks at searching by parts of expression - it can only match parts which start
with ", " visually (start of an entry in the DB) and end with " ".
- It's a mess internally due to the state of wakan.chr format.

Wakan.chr format has to be upgraded, and then various filter routines, including "Filter
by meaning", modernized:
- Initial case-sensitive/insensitive/partial string/integer matching code has to be
handled by Wakan.chr handling code.
- It should return a set of possible matches which may additionally be scrutinized
by KanjiFilter.

Reported by himselfv on 2013-12-22 16:57:37

himselfv commented 10 years ago
Other filters should benefit from this too

Reported by himselfv on 2013-12-22 16:57:55

himselfv commented 10 years ago
Fixed in @478bd6147f07. Was already case-insensitive, now also matches full words inside
one definition (e.g. "speech" in "part of speech").

Reported by himselfv on 2014-09-23 15:27:00