data(kana): Mozc's romaji table
hira.map and kata.map knew 152 keys of the 320 every Japanese IME accepts: no nn, no small kana by x or l (xtu, xya, la, ...), no sya, tya, zya, jya, dya, cya, tsa, thi, dhi, twu, kye, ye, fya, wha, and zi gave ぢ. Both are now Mozc's default table in full, kata.map in Katakana, so that they agree (kata.map alone had di → ディ and a lone v). With Mozc, wi and we are うぃ and うぇ (wyi and wye the old kana), the v row is ゔ, nn is ん, and [ ] ~ and the z-prefixed symbols type 「 」 〜 ・ … ← ↓ ↑ →. n' is a row now, not a case in transjp. A row whose value is っ keeps its consonant pending only when it is a doubled consonant or tch: xtu and ltu are っ itself, so a lone っ can finally be typed.
This commit is contained in:
@@ -451,7 +451,7 @@ engine_commit_contract(struct ct *t)
|
||||
return;
|
||||
im.nkouho = 1;
|
||||
im.sel = -1;
|
||||
CT_CHECK(t, !keystroke('q', 0, &com));
|
||||
CT_CHECK(t, !keystroke('!', 0, &com));
|
||||
checkstr(t, "uneaten-key commit", "か", &com);
|
||||
CT_EQ_INT(t, 0, im.pre.n);
|
||||
CT_EQ_INT(t, 0, im.raw.n);
|
||||
@@ -1061,7 +1061,17 @@ engine_japanese_readings(struct ct *t)
|
||||
} cases[] = {
|
||||
{ "nya", "にゃ" },
|
||||
{ "n'ya", "んや" },
|
||||
{ "nnya", "んにゃ" },
|
||||
{ "nnya", "んや" },
|
||||
{ "nnnya", "んにゃ" },
|
||||
{ "konnnichiha", "こんにちは" },
|
||||
{ "wi", "うぃ" },
|
||||
{ "vu", "ゔ" },
|
||||
{ "xtu", "っ" },
|
||||
{ "axtu", "あっ" },
|
||||
{ "lla", "っぁ" },
|
||||
{ "matcha", "まっちゃ" },
|
||||
{ "zi", "じ" },
|
||||
{ "[", "「" },
|
||||
{ "kin'youbi", "きんようび" },
|
||||
};
|
||||
static const struct {
|
||||
|
||||
Reference in New Issue
Block a user