himselfv / wakan

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

Upgrade dictionary search results #93

Open himselfv opened 11 years ago

himselfv commented 11 years ago

Original report by me.

Originally reported on Google Code with ID 93

New dictionary format (see Issue 76, Issue 82) supports multiple kana-kanji entries
and multiple meanings for a single article.

Search results have to be upgraded to support all these features.

For dictionary by-kana lookups:
- Display markers next to kana and kanji
- Merge multiple kanji results for the same article into a single one
 i.e. one kana matches to three kanji versions
- Perhaps display other kana results for this article in grey?
 (some articles reference kana in translation text, and it would look a bit strange
otherwise)

For backwards (by translation) lookups:
- Display all versions of kana and kanji in a single record

For by-kanji lookups:
- Same as with by-kana, only roles are reversed.

For auto-translation feature:
- Keep separate scoring for readings
- Keep separate scoring for meaning entries (they can have different grammatical types
=> some suitable, some unsuitable)
- Merge everything in the article into a single result which scores as the best of
everything inside it, BUT remember the scores for it's separate parts (so we choose
the best reading, and order meaning entries in the score order)

In fact, we can also order kana and kanji in manual lookups by this order! So it's
all comes up nicely.

Reported by himselfv on 2013-01-12 21:34:25

himselfv commented 11 years ago

Reported by himselfv on 2013-04-23 11:42:35

himselfv commented 11 years ago

Reported by himselfv on 2013-04-23 11:43:08

himselfv commented 11 years ago

Reported by himselfv on 2013-04-23 11:44:57

himselfv commented 11 years ago

Reported by himselfv on 2013-10-30 13:09:10

himselfv commented 10 years ago

Reported by himselfv on 2014-07-02 19:04:32

himselfv commented 10 years ago

Reported by himselfv on 2014-07-02 19:12:01

himselfv commented 10 years ago
Example case when multiple results refer to the same entry: search in romaji for "shibashiba".
~8-10 results all looking absolutely the same.

That's additionally because all readings with "usually kana" flag are displayed as
kana/kana instead of kana/kanji. That needs to change. See Issue 256: Dict: "Usually
kana" flag hides variety in writing forms.

Reported by himselfv on 2014-07-02 19:12:21