wakan
wakan copied to clipboard
Upgrade dictionary search results
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
Reported by himselfv
on 2013-04-23 11:42:35
- Labels added: Type-Feature
- Labels removed: Type-Defect
Reported by himselfv
on 2013-04-23 11:43:08
- Labels added: Type-Enhancement
- Labels removed: Type-Feature
Reported by himselfv
on 2013-04-23 11:44:57
- Blocking: #33
Reported by himselfv
on 2013-10-30 13:09:10
- Labels added: Milestone-3
Reported by himselfv
on 2014-07-02 19:04:32
- Blocking: #255
Reported by himselfv
on 2014-07-02 19:12:01
- Blocking: #256
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