sschmidTU / mr-kanji-search-wtk

WTK-Search is a Kanji search engine using (multiple) Wanikani radicals or RTK names, on a RTK element dataset of 3000+ Kanji
https://sschmidtu.github.io/mr-kanji-search-wtk/
7 stars 2 forks source link

order search results by number/precision of radical hits (and keyword hit) #3

Open sschmidTU opened 3 years ago

sschmidTU commented 3 years ago

e.g. when searching for "private moon", 肘 shouldn't be #1, but e.g. 胎 or 能. More simply: "tsunami return" ("water re-" in RTK) should give 涙 first, not 治.

-> first count radical/keyword hits, then order results by amount of hits and maybe completeness (e.g. for "tsunami cross" ("water ten"), 汁 should come before 準, though in most cases that's probably covered by search score)

sschmidTU commented 3 years ago

at least exact RTK keyword matches go first in results now. image

sschmidTU commented 3 years ago

377757afa96612322a5c03bb14d785ddfb80aa92 fixed variants prepended (shown) before their originals (e.g. study, soil).