From 711f4725d0de5b7c44de47f7017ff12c2c89e1b6 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 04:03:30 +0200 Subject: [PATCH] basic hiragana --- x2i/dictionaries/hi-keys.yaml | 370 ++++++++++++++++++++++++++++++++++ x2i/index.ts | 4 + 2 files changed, 374 insertions(+) create mode 100644 x2i/dictionaries/hi-keys.yaml diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml new file mode 100644 index 0000000..e7c599e --- /dev/null +++ b/x2i/dictionaries/hi-keys.yaml @@ -0,0 +1,370 @@ +--- +# gojuuonzu 3-letter +- raw: + - "shi" + - "し" +- raw: + - "chi" + - "ち" +- raw: + - "tsu" + - "つ" +# youon 3-letter +- raw: + - "kya" + - "きゃ" +- raw: + - "kyu" + - "きゅ" +- raw: + - "kyo" + - "きょ" +- raw: + - "sha" + - "しゃ" +- raw: + - "shu" + - "しゅ" +- raw: + - "sho" + - "しょ" +- raw: + - "cha" + - "ちゃ" +- raw: + - "chu" + - "ちゅ" +- raw: + - "cho" + - "ちょ" +- raw: + - "nya" + - "にゃ" +- raw: + - "nyu" + - "にゅ" +- raw: + - "nyo" + - "にょ" +- raw: + - "hya" + - "ひゃ" +- raw: + - "hyu" + - "ひゅ" +- raw: + - "hyo" + - "ひょ" +- raw: + - "mya" + - "みゃ" +- raw: + - "myu" + - "みゅ" +- raw: + - "myo" + - "みょ" +- raw: + - "rya" + - "りゃ" +- raw: + - "ryu" + - "りゅ" +- raw: + - "ryo" + - "りょ" +# dakuten and handakuten 3-letter +- raw: + - "gya" + - "ぎゃ" +- raw: + - "gyu" + - "ぎゅ" +- raw: + - "gyo" + - "ぎょ" +- raw: + - "bya" + - "びゃ" +- raw: + - "byu" + - "びゅ" +- raw: + - "byo" + - "びょ" +- raw: + - "pya" + - "ぴゃ" +- raw: + - "pyu" + - "ぴゅ" +- raw: + - "pyo" + - "ぴょ" +#sokuon +- raw: + - "kka" + - "っか" +- raw: + - "kki" + - "っき" +- raw: + - "kku" + - "っく" +- raw: + - "kke" + - "っけ" +- raw: + - "kko" + - "っこ" +- raw: + - "ssa" + - "っさ" +- raw: + - "ssu" + - "っす" +- raw: + - "sse" + - "っせ" +- raw: + - "sso" + - "っそ" +- raw: + - "tta" + - "った" +- raw: + - "tte" + - "って" +- raw: + - "tto" + - "っと" +- raw: + - "hha" + - "っは" +- raw: + - "hhi" + - "っひ" +- raw: + - "ffu" + - "っふ" +- raw: + - "hhe" + - "っへ" +- raw: + - "hho" + - "っほ" +- raw: + - "wwa" + - "わ" +- raw: + - "wwo" + - "っを" + +# gojuuonzu 2-letter +- raw: + - "ka" + - "か" +- raw: + - "ki" + - "き" +- raw: + - "ku" + - "く" +- raw: + - "ke" + - "け" +- raw: + - "ko" + - "こ" +- raw: + - "sa" + - "ka" +- raw: + - "su" + - "す" +- raw: + - "se" + - "せ" +- raw: + - "so" + - "そ" +- raw: + - "ta" + - "た" +- raw: + - "te" + - "て" +- raw: + - "to" + - "と" +- raw: + - "na" + - "な" +- raw: + - "ni" + - "に" +- raw: + - "nu" + - "ぬ" +- raw: + - "ne" + - "ね" +- raw: + - "no" + - "の" +- raw: + - "ha" + - "は" +- raw: + - "hi" + - "ひ" +- raw: + - "fu" + - "ふ" +- raw: + - "he" + - "へ" +- raw: + - "ho" + - "ほ" +- raw: + - "ma" + - "ま" +- raw: + - "mi" + - "み" +- raw: + - "mu" + - "む" +- raw: + - "me" + - "め" +- raw: + - "mo" + - "も" +- raw: + - "ya" + - "や" +- raw: + - "yu" + - "ゆ" +- raw: + - "yo" + - "よ" +- raw: + - "ra" + - "ら" +- raw: + - "ri" + - "り" +- raw: + - "ru" + - "る" +- raw: + - "re" + - "れ" +- raw: + - "ro" + - "ろ" +- raw: + - "wa" + - "わ" +- raw: + - "wo" + - "を" +# dakuon and handakuon 2-letter +- raw: + - "ga" + - "が" +- raw: + - "gi" + - "ぎ" +- raw: + - "gu" + - "ぐ" +- raw: + - "ge" + - "げ" +- raw: + - "go" + - "ご" +- raw: + - "za" + - "ざ" +- raw: + - "ji" + - "じ" +- raw: + - "zu" + - "ず" +- raw: + - "ze" + - "ぜ" +- raw: + - "zo" + - "ぞ" +- raw: + - "da" + - "だ" +- raw: + - "ji" + - "ぢ" +- raw: + - "zu" + - "づ" +- raw: + - "de" + - "で" +- raw: + - "do" + - "ど" +- raw: + - "ba" + - "ば" +- raw: + - "bi" + - "び" +- raw: + - "bu" + - "ぶ" +- raw: + - "be" + - "べ" +- raw: + - "bo" + - "ぼ" +- raw: + - "pa" + - "ぱ" +- raw: + - "pi" + - "ぴ" +- raw: + - "pu" + - "ぷ" +- raw: + - "pe" + - "ぺ" +- raw: + - "po" + - "ぽ +" +# gojuuonzu 1-letter +- raw: + - "a" + - "あ" +- raw: + - "i" + - "い" +- raw: + - "u" + - "う" +- raw: + - "e" + - "え" +- raw: + - "o" + - "お" +- raw: + - "n" + - "ん" diff --git a/x2i/index.ts b/x2i/index.ts index 4ab7347..4e82ef2 100644 --- a/x2i/index.ts +++ b/x2i/index.ts @@ -68,6 +68,10 @@ const matchType: { [key: string]: IMatchInstructions } = { join: (_, match) => `- ${match}`, keys: readKeys("./x2i/dictionaries/i-keys.yaml"), }, + hi: { + join: (_, match) => `- ${match}`, + keys: readKeys("./x2i/dictionaries/hi-keys.yaml"), + }, }; /**