From 711f4725d0de5b7c44de47f7017ff12c2c89e1b6 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 04:03:30 +0200 Subject: [PATCH 01/12] 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"), + }, }; /** From 2ec17be818e0908cd27cfe64b89d4c54f33ccda2 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 13:46:47 +0200 Subject: [PATCH 02/12] more hiragana --- x2i/dictionaries/hi-keys.yaml | 152 +++++++++++++++++++++++++++++++--- x2i/index.ts | 3 +- 2 files changed, 141 insertions(+), 14 deletions(-) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index e7c599e..7afee70 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -1,4 +1,10 @@ --- +# n has supesharu sutâtsusu +- raw: + - "n'" + - "ん" +# gojuuonzu 4-letter + # gojuuonzu 3-letter - raw: - "shi" @@ -20,22 +26,22 @@ - "kyo" - "きょ" - raw: - - "sha" + - "sha|sya" - "しゃ" - raw: - - "shu" + - "shu|syu" - "しゅ" - raw: - - "sho" + - "sho|syo" - "しょ" - raw: - - "cha" + - "cha|tya" - "ちゃ" - raw: - - "chu" + - "chu|tyu" - "ちゅ" - raw: - - "cho" + - "cho|tyo" - "ちょ" - raw: - "nya" @@ -101,6 +107,24 @@ - raw: - "pyo" - "ぴょ" +- raw: + - "zya" + - "じゃ" +- raw: + - "zyu" + - "じゅ" +- raw: + - "zyo" + - "じょ" +- raw: + - "dya" + - "ぢゃ" +- raw: + - "dyu" + - "ぢゅ" +- raw: + - "dyo" + - "ぢょ" #sokuon - raw: - "kka" @@ -159,6 +183,76 @@ - raw: - "wwo" - "っを" +#dakuon and handakuon 3-letters +- raw: + - "gga" + - "っが" +- raw: + - "ggi" + - "っぎ" +- raw: + - "ggu" + - "っぐ" +- raw: + - "gge" + - "っげ" +- raw: + - "ggo" + - "っご" +- raw: + - "zza" + - "っざ" +- raw: + - "jji" + - "っじ" +- raw: + - "zzu" + - "っず" +- raw: + - "zze" + - "っぜ" +- raw: + - "zzo" + - "っぞ" +- raw: + - "dda" + - "っだ" +- raw: + - "dde" + - "っで" +- raw: + - "ddo" + - "っど" +- raw: + - "bba" + - "っば" +- raw: + - "bbi" + - "っび" +- raw: + - "bbu" + - "っぶ" +- raw: + - "bbe" + - "っべ" +- raw: + - "bbo" + - "っぼ" +- raw: + - "ppa" + - "っぱ" +- raw: + - "ppi" + - "っぴ" +- raw: + - "ppu" + - "っぷ" +- raw: + - "ppe" + - "っぺ" +- raw: + - "ppo" + - "っぽ" # gojuuonzu 2-letter - raw: @@ -178,7 +272,10 @@ - "こ" - raw: - "sa" - - "ka" + - "さ" +- raw: + - "si" + - "し" - raw: - "su" - "す" @@ -191,6 +288,12 @@ - raw: - "ta" - "た" +- raw: + - "ti" + - "ち" +- raw: + - "tu" + - "つ" - raw: - "te" - "て" @@ -219,7 +322,7 @@ - "hi" - "ひ" - raw: - - "fu" + - "fu|hu" - "ふ" - raw: - "he" @@ -292,7 +395,7 @@ - "za" - "ざ" - raw: - - "ji" + - "ji|zi" - "じ" - raw: - "zu" @@ -307,10 +410,10 @@ - "da" - "だ" - raw: - - "ji" + - "di" - "ぢ" - raw: - - "zu" + - "zu|du" - "づ" - raw: - "de" @@ -347,8 +450,31 @@ - "ぺ" - raw: - "po" - - "ぽ -" + - "ぽ" +- raw: + - "" + - "" +#youon 2-letter +- raw: + - "ja" + - "じゃ" +- raw: + - "ju" + - "じゅ" +- raw: + - "jo" + - "じょ" +# ????? 2 - letter +- raw: + - "wi" + - "ゐ" +- raw: + - "we" + - "ゑ" +- raw: + - "wo" + - "を" + # gojuuonzu 1-letter - raw: - "a" diff --git a/x2i/index.ts b/x2i/index.ts index 4e82ef2..9d6be35 100644 --- a/x2i/index.ts +++ b/x2i/index.ts @@ -157,7 +157,8 @@ export default function x2i(content: string) { OuterXRegExp.forEach(content, regex, match => { const parts = match.slice(2, 6); if (parts.length === 4) { - const [k, l, m, r] = parts; + var [k, l, m, r] = parts; + if (k === "hi") { m = m.toLowerCase() } const converted = force(k, l, m, r); // eg x, [, text, ] if (converted) { From d672d08645bf08e11b1df45ec764aec27b6551a5 Mon Sep 17 00:00:00 2001 From: nei Date: Sat, 18 Jul 2020 12:07:49 +0000 Subject: [PATCH 03/12] Update hi-keys.yaml --- x2i/dictionaries/hi-keys.yaml | 84 ++++++++++++++++++++++++++++++++++- 1 file changed, 83 insertions(+), 1 deletion(-) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index 7afee70..c5890b2 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -4,7 +4,89 @@ - "n'" - "ん" # gojuuonzu 4-letter - +- raw: + - "sshi|ssi" + - "っし" +- raw: + - "tchi|cchi|tti" + - "っち" +- raw: + - "ttsu|ttu" + - "っつ" +# youon 4-letter +- raw: + - "kkya" + - "っきゃ" +- raw: + - "kkyu" + - "っきゅ" +- raw: + - "kkyo" + - "っきょ" +- raw: + - "ssha|ssya" + - "っしゃ" +- raw: + - "sshu|ssyu" + - "っしゅ" +- raw: + - "ssho|ssyo" + - "っしょ" +- raw: + - "tcha|ccha|ttya" + - "っちゃ" +- raw: + - "tchu|cchu|ttyu" + - "っちゅ" +- raw: + - "tcho|ccho|ttyo" + - "っちょ" +# dakuten and handakuten 3-letter +- raw: + - "ggya" + - "っぎゃ" +- raw: + - "ggyu" + - "っぎゅ" +- raw: + - "ggyo" + - "っぎょ" +- raw: + - "bbya" + - "っびゃ" +- raw: + - "bbyu" + - "っびゅ" +- raw: + - "bbyo" + - "っびょ" +- raw: + - "ppya" + - "っぴゃ" +- raw: + - "ppyu" + - "っぴゅ" +- raw: + - "ppyo" + - "っぴょ" +- raw: + - "zzya|jja" + - "っじゃ" +- raw: + - "zzyu|jju" + - "っじゅ" +- raw: + - "zzyo|jjo" + - "っじょ" +- raw: + - "ddya" + - "っぢゃ" +- raw: + - "ddyu" + - "っぢゅ" +- raw: + - "ddyo" + - "っぢょ" # gojuuonzu 3-letter - raw: - "shi" From b9defd6d12aaf33da45ba100d03a4fdcd04c108e Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 17:04:24 +0200 Subject: [PATCH 04/12] move keys around --- x2i/dictionaries/hi-keys.yaml | 41 ++++++++++++++++++++++++----------- 1 file changed, 28 insertions(+), 13 deletions(-) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index c5890b2..28c702c 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -1,17 +1,17 @@ ---- + --- # n has supesharu sutâtsusu - raw: - "n'" - "ん" # gojuuonzu 4-letter - raw: - - "sshi|ssi" + - "sshi" - "っし" - raw: - - "tchi|cchi|tti" + - "tchi|cchi" - "っち" - raw: - - "ttsu|ttu" + - "ttsu" - "っつ" # youon 4-letter - raw: @@ -41,7 +41,7 @@ - raw: - "tcho|ccho|ttyo" - "っちょ" -# dakuten and handakuten 3-letter +# dakuten and handakuten souken 4-letter - raw: - "ggya" - "っぎゃ" @@ -70,13 +70,13 @@ - "ppyo" - "っぴょ" - raw: - - "zzya|jja" + - "zzya" - "っじゃ" - raw: - - "zzyu|jju" + - "zzyu" - "っじゅ" - raw: - - "zzyo|jjo" + - "zzyo" - "っじょ" - raw: - "ddya" @@ -161,6 +161,15 @@ - raw: - "ryo" - "りょ" +- raw: + - "jja" + - "っじゃ" +- raw: + - "jju" + - "っじゅ" +- raw: + - "jjo" + - "っじょ" # dakuten and handakuten 3-letter - raw: - "gya" @@ -207,7 +216,7 @@ - raw: - "dyo" - "ぢょ" -#sokuon +# sokuon 3-letter - raw: - "kka" - "っか" @@ -226,6 +235,9 @@ - raw: - "ssa" - "っさ" +- raw: + - "ssi" + - "っし" - raw: - "ssu" - "っす" @@ -238,6 +250,12 @@ - raw: - "tta" - "った" +- raw: + - "tti" + - "っち" +- raw: + - "ttu" + - "っつ" - raw: - "tte" - "って" @@ -265,7 +283,7 @@ - raw: - "wwo" - "っを" -#dakuon and handakuon 3-letters +#dakuon and handakuon souken 3-letters - raw: - "gga" - "っが" @@ -533,9 +551,6 @@ - raw: - "po" - "ぽ" -- raw: - - "" - - "" #youon 2-letter - raw: - "ja" From 8b8a9d9a892e0d8c7cd77bf2227c60015c4d19b4 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 18:03:10 +0200 Subject: [PATCH 05/12] finish hiragana with smols --- x2i/dictionaries/hi-keys.yaml | 57 ++++++++++++++++++++++++++++++++--- 1 file changed, 53 insertions(+), 4 deletions(-) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index 28c702c..3d7ee95 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -3,7 +3,17 @@ - raw: - "n'" - "ん" -# gojuuonzu 4-letter + +# gojuuonzu smol 4-letter +- raw: + - "[xl]tsu" + - "っ" +# +# youon 4-letter +- raw: + - "chya" + - "ちゃ" +# gojuuonzu souken 4-letter - raw: - "sshi" - "っし" @@ -13,7 +23,7 @@ - raw: - "ttsu" - "っつ" -# youon 4-letter +# youon souken 4-letter - raw: - "kkya" - "っきゃ" @@ -353,7 +363,28 @@ - raw: - "ppo" - "っぽ" - +# gojuuonzu 3-letter +- raw: + - "[xl]ka" + - "ヵ" +- raw: + - "[xl]ke" + - "ヶ" +- raw: + - "[xl]tu" + - "っ" +- raw: + - "[xl]ya" + - "ゃ" +- raw: + - "[xl]yu" + - "ゅ" +- raw: + - "[xl]yo" + - "ょ" +- raw: + - "[xl]wa" + - "ゎ" # gojuuonzu 2-letter - raw: - "ka" @@ -571,7 +602,25 @@ - raw: - "wo" - "を" - +# gojuuonzu smol 2-letter +- raw: + - "[xl]a" + - "ぁ" +- raw: + - "[xl]i" + - "ぃ" +- raw: + - "[xl]u" + - "ぅ" +- raw: + - "[xl]e" + - "ぇ" +- raw: + - "[xl]o" + - "ぉ" +- raw: + - "[xl]n" + - "ん" # gojuuonzu 1-letter - raw: - "a" From a4962f03a584ae83609bd675def3f36d721a7862 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 18:07:38 +0200 Subject: [PATCH 06/12] version bump --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 52957be..6f3f409 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ -const version = "2.3.2"; +const version = "2.4.0"; import x2i from "./x2i"; import { existsSync } from "fs"; @@ -53,6 +53,7 @@ i - Inuktitut Syllabics - https://en.wikipedia.org/wiki/Inuktitut_syllabics ik - Iñupiatun Orthographies (see !xik) chr - Cherokee (see !xchr) - https://en.wikipedia.org/wiki/Cherokee_syllabary nav - Navajo (see !xnav) +hi - Hiragana, mainly https://en.wikipedia.org/wiki/Nihon-shiki_romanization and hepburn, but also with other unofficial styles Find my source at https://github.com/Dali99/matrix-wug From fdf21bf0ebb3f0bcc74a6d818ed7404160422d58 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 18:11:21 +0200 Subject: [PATCH 07/12] remove spaces --- index.ts | 2 +- x2i/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.ts b/index.ts index 6f3f409..f9dd990 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ -const version = "2.4.0"; +const version = "2.4.1"; import x2i from "./x2i"; import { existsSync } from "fs"; diff --git a/x2i/index.ts b/x2i/index.ts index 9d6be35..11ab312 100644 --- a/x2i/index.ts +++ b/x2i/index.ts @@ -158,7 +158,7 @@ export default function x2i(content: string) { const parts = match.slice(2, 6); if (parts.length === 4) { var [k, l, m, r] = parts; - if (k === "hi") { m = m.toLowerCase() } + if (k === "hi") { m = m.replace(/\s/g, '').toLowerCase() } const converted = force(k, l, m, r); // eg x, [, text, ] if (converted) { From a9a8d2392a0cbcb5140bbd16c7ab17b7e65bd7ae Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sat, 18 Jul 2020 19:11:41 +0200 Subject: [PATCH 08/12] ye olde language begone --- index.ts | 2 +- x2i/dictionaries/hi-keys.yaml | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/index.ts b/index.ts index f9dd990..dd88986 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ -const version = "2.4.1"; +const version = "2.4.2"; import x2i from "./x2i"; import { existsSync } from "fs"; diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index 3d7ee95..b40899e 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -8,7 +8,6 @@ - raw: - "[xl]tsu" - "っ" -# # youon 4-letter - raw: - "chya" @@ -595,13 +594,10 @@ # ????? 2 - letter - raw: - "wi" - - "ゐ" + - "うぃ" - raw: - "we" - - "ゑ" -- raw: - - "wo" - - "を" + - "うぇ" # gojuuonzu smol 2-letter - raw: - "[xl]a" From c40cf7be389aa49b09db45a343cf8ec0feba3374 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 19 Jul 2020 02:06:33 +0200 Subject: [PATCH 09/12] classic hepburn start, comment passport hepburn --- x2i/dictionaries/hi-keys.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index b40899e..1091369 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -225,6 +225,8 @@ - raw: - "dyo" - "ぢょ" +# passport hepburn 3-letter +# REMOVED FOR INCOMPATIBILITY CONCERNS # sokuon 3-letter - raw: - "kka" @@ -362,7 +364,7 @@ - raw: - "ppo" - "っぽ" -# gojuuonzu 3-letter +# gojuuonzu smol 3-letter - raw: - "[xl]ka" - "ヵ" @@ -636,3 +638,17 @@ - raw: - "n" - "ん" +# long vowel 1-letter hepburn +# NOT GOOD +#- raw: +# - "ā|â" +# - "ああ" +#- raw: +# - "ū|û" +# - "うう" +#- raw: +# - "ē|ê" +# - "ええ" +#- raw: +# - "ō|ô" +# - "おお" From b7b1c797a60043aecad56a47c97e0721aac9b84e Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 19 Jul 2020 20:51:54 +0200 Subject: [PATCH 10/12] add modified hepburn vowels --- x2i/dictionaries/hi-keys.yaml | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index 1091369..08df741 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -4,6 +4,23 @@ - "n'" - "ん" +# hepburn long vowels +- raw: + - "[āâ]" + - "aa" +- raw: + - "[ūû]" + - "uu" +- raw: + - "[ūû]" + - "uu" +- raw: + - "[ēê]" + - "ee" +- raw: + - "[ōô]" + - "oo" + # gojuuonzu smol 4-letter - raw: - "[xl]tsu" @@ -638,17 +655,3 @@ - raw: - "n" - "ん" -# long vowel 1-letter hepburn -# NOT GOOD -#- raw: -# - "ā|â" -# - "ああ" -#- raw: -# - "ū|û" -# - "うう" -#- raw: -# - "ē|ê" -# - "ええ" -#- raw: -# - "ō|ô" -# - "おお" From f0fecd3575d77e86496628a050eba40db476acb2 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 19 Jul 2020 21:02:42 +0200 Subject: [PATCH 11/12] 5-letter variants --- x2i/dictionaries/hi-keys.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/x2i/dictionaries/hi-keys.yaml b/x2i/dictionaries/hi-keys.yaml index 08df741..f73bac5 100644 --- a/x2i/dictionaries/hi-keys.yaml +++ b/x2i/dictionaries/hi-keys.yaml @@ -21,6 +21,17 @@ - "[ōô]" - "oo" +# youon souken 5-letter +- raw: + - "cchya" + - "っちゃ" +- raw: + - "cchyu" + - "っちゅ" +- raw: + - "cchuo" + - "っちょ" + # gojuuonzu smol 4-letter - raw: - "[xl]tsu" @@ -29,6 +40,9 @@ - raw: - "chya" - "ちゃ" +- raw: + - "chyu" + - "ちゅ" # gojuuonzu souken 4-letter - raw: - "sshi" From 9df5030b66c5d1829da0b519177482f19da359c0 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 19 Jul 2020 21:28:46 +0200 Subject: [PATCH 12/12] version bump --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index dd88986..c84112f 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ -const version = "2.4.2"; +const version = "2.4.3"; import x2i from "./x2i"; import { existsSync } from "fs";