Skip to content

Kanji lookup by romaji ON fails on long vowels #283

@himselfv

Description

@himselfv

Original report by me.

Kanji search gives no results when filtering by On readings with long vowels, written in romaji, such as "chuu" (チュウ) or "juu" (ジュウ). These are fairly common so there should be lots of results.

The reason is that when converting to katakana, long vowels (uu) are converted to prolonged vowels (ウ-) since this is what you usually expect (katakana words mainly use prolonged vowels).

  • Input: chuu
  • Hiragana: ちゅう
  • Katakana: チュ- (instead of チュウ)

Yet ONs in the Kanjidic never use ュ- and always use the ュウ form.

Workaround 1: type katakana with OS keyboard.

Workaround 2: type チュ then type ウ in the editor, then filter by that.

Possible solution 1: when filtering kanji, set a flag and produce and try both versions of katakana.

Possible solution 2: maybe chuu and juu are special cases and should always be converted to full form even in katakana? This should be studied (and also how other transliteration systems behave).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmajor

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions