1. johannes
  2. romanippo

Commits

johannes  committed 19607b6

Less verbose way to specify tables

  • Participants
  • Parent commits 482dc22
  • Branches default

Comments (0)

Files changed (2)

File quiz.lua

View file
  • Ignore whitespace
 -- Use awesome unicode library from http://luaforge.net/projects/sln/
 local utf8 = unicode.utf8
 
-words = {}
-words["はし"]         = "chopsticks"
-words["しょうゆ"]     = "soy oil"
-words["しょうちゅう"] = "sweet potato liquor"
-words["オクラ"]       = "okura"
-words["ゴーヤー"]     = "bitter melon"
-words["はじめまして"] = "nice to meet you"
-words["おみず"]       = "water"
-words["すみません"]   = "excuse me/sorry"
-words["ごめんなさい"] = "sorry"
-words["でんしゃ"]     = "train"
-words["えき"]         = "station"
-words["きっぷ"]       = "ticket"
-words["いくら"]       = "how much"
-words["ひと"]         = "person"
-words["あさ"]         = "morning"
-words["よる"]         = "evening"
-words["たかい"]       = "expensive"
-words["やすい"]       = "cheap"
-words["こうえん"]     = "park"
-words["とおい"]       = "far"
-words["おいしい"]     = "tasty"
-words["あたたかい"]   = "warm"
-words["さむい"]       = "cold"
-words["あかるい"]     = "bright"
-words["くらい"]       = "dark"
-words["ひゃく"]       = "one hundred"
-words["せん"]         = "one thousand"
-words["まん"]         = "ten thousand"
-words["あき"]         = "fall"
-words["ふゆ"]         = "winter"
-words["はる"]         = "spring"
-words["なつ"]         = "summer"
---words[""]         = ""
-words["ありがとうございます"] = "thank you"
-words["おはようございます"]   = "good morning"
+words = {
+	["はし"]         = "chopsticks",
+	["しょうゆ"]     = "soy oil",
+	["しょうちゅう"] = "sweet potato liquor",
+	["オクラ"]       = "okura",
+	["ゴーヤー"]     = "bitter melon",
+	["はじめまして"] = "nice to meet you",
+	["おみず"]       = "water",
+	["すみません"]   = "excuse me/sorry",
+	["ごめんなさい"] = "sorry",
+	["でんしゃ"]     = "train",
+	["えき"]         = "station",
+	["きっぷ"]       = "ticket",
+	["いくら"]       = "how much",
+	["ひと"]         = "person",
+	["あさ"]         = "morning",
+	["よる"]         = "evening",
+	["たかい"]       = "expensive",
+	["やすい"]       = "cheap",
+	["こうえん"]     = "park",
+	["とおい"]       = "far",
+	["おいしい"]     = "tasty",
+	["あたたかい"]   = "warm",
+	["さむい"]       = "cold",
+	["あかるい"]     = "bright",
+	["くらい"]       = "dark",
+	["ひゃく"]       = "one hundred",
+	["せん"]         = "one thousand",
+	["まん"]         = "ten thousand",
+	["あき"]         = "fall",
+	["ふゆ"]         = "winter",
+	["はる"]         = "spring",
+	["なつ"]         = "summer",
+	["ありがとうございます"] = "thank you",
+	["おはようございます"]   = "good morning"
+}
 
 for hiragana,english in pairs(words) do
 	print(hiragana .. " -> " .. romanize(hiragana) .. " (" .. english .. ")")

File romanize.lua

View file
  • Ignore whitespace
 -- based on http://en.wikipedia.org/wiki/Hiragana
 --      and http://en.wikipedia.org/wiki/Katakana
 -- heavily vimified
-romaji = {}
-romaji["あ"]	= "a"
-romaji["い"]	= "i"
-romaji["う"]	= "u"
-romaji["え"]	= "e"
-romaji["お"]	= "o"
-romaji["か"]	= "ka"
-romaji["き"]	= "ki"
-romaji["く"]	= "ku"
-romaji["け"]	= "ke"
-romaji["こ"]	= "ko"
-romaji["くゎ"]	= "kwa"
-romaji["きゃ"]	= "kya"
-romaji["きゅ"]	= "kyu"
-romaji["きょ"]	= "kyo"
-romaji["さ"]	= "sa"
-romaji["し"]	= "shi"
-romaji["す"]	= "su"
-romaji["せ"]	= "se"
-romaji["そ"]	= "so"
-romaji["しゃ"]	= "sha"
-romaji["しゅ"]	= "shu"
-romaji["しょ"]	= "sho"
-romaji["た"]	= "ta"
-romaji["ち"]	= "chi"
-romaji["つ"]	= "tsu"
-romaji["て"]	= "te"
-romaji["と"]	= "to"
-romaji["ちゃ"]	= "cha"
-romaji["ちゅ"]	= "chu"
-romaji["ちょ"]	= "cho"
-romaji["な"]	= "na"
-romaji["に"]	= "ni"
-romaji["ぬ"]	= "nu"
-romaji["ね"]	= "ne"
-romaji["の"]	= "no"
-romaji["にゃ"]	= "nya"
-romaji["にゅ"]	= "nyu"
-romaji["にょ"]	= "nyo"
-romaji["は"]	= "ha"
-romaji["ひ"]	= "hi"
-romaji["ふ"]	= "fu"
-romaji["へ"]	= "he"
-romaji["ほ"]	= "ho"
-romaji["ひゃ"]	= "hya"
-romaji["ひゅ"]	= "hyu"
-romaji["ひょ"]	= "hyo"
-romaji["ま"]	= "ma"
-romaji["み"]	= "mi"
-romaji["む"]	= "mu"
-romaji["め"]	= "me"
-romaji["も"]	= "mo"
-romaji["みゃ"]	= "mya"
-romaji["みゅ"]	= "myu"
-romaji["みょ"]	= "myo"
-romaji["や"]	= "ya"
-romaji["ゆ"]	= "yu"
-romaji["よ"]	= "yo"
-romaji["ら"]	= "ra"
-romaji["り"]	= "ri"
-romaji["る"]	= "ru"
-romaji["れ"]	= "re"
-romaji["ろ"]	= "ro"
-romaji["りゃ"]	= "rya"
-romaji["りゅ"]	= "ryu"
-romaji["りょ"]	= "ryo"
-romaji["わ"]	= "wa"
-romaji["ゐ"]	= "i"
-romaji["ゑ"]	= "e"
-romaji["を"]	= "wo"
-romaji["ん"]	= "n"
-romaji["が"]	= "ga"
-romaji["ぎ"]	= "gi"
-romaji["ぐ"]	= "gu"
-romaji["げ"]	= "ge"
-romaji["ご"]	= "go"
-romaji["ぐゎ"]	= "gwa"
-romaji["ぎゃ"]	= "gya"
-romaji["ぎゅ"]	= "gyu"
-romaji["ぎょ"]	= "gyo"
-romaji["ざ"]	= "za"
-romaji["じ"]	= "ji"
-romaji["ず"]	= "zu"
-romaji["ぜ"]	= "ze"
-romaji["ぞ"]	= "zo"
-romaji["じゃ"]	= "ja"
-romaji["じゅ"]	= "ju"
-romaji["じょ"]	= "jo"
-romaji["だ"]	= "da"
-romaji["ぢ"]	= "(ji)"
-romaji["づ"]	= "(zu)"
-romaji["で"]	= "de"
-romaji["ど"]	= "do"
-romaji["ぢゃ"]	= "(ja)"
-romaji["ぢゅ"]	= "(ju)"
-romaji["ぢょ"]	= "(jo)"
-romaji["ば"]	= "ba"
-romaji["び"]	= "bi"
-romaji["ぶ"]	= "bu"
-romaji["べ"]	= "be"
-romaji["ぼ"]	= "bo"
-romaji["びゃ"]	= "bya"
-romaji["びゅ"]	= "byu"
-romaji["びょ"]	= "byo"
-romaji["ぱ"]	= "pa"
-romaji["ぴ"]	= "pi"
-romaji["ぷ"]	= "pu"
-romaji["ぺ"]	= "pe"
-romaji["ぽ"]	= "po"
-romaji["ぴゃ"]	= "pya"
-romaji["ぴゅ"]	= "pyu"
-romaji["ぴょ"]	= "pyo"
-romaji["ゔ"]	= "vu"
+romaji = {
+	["あ"]	= "a",
+	["い"]	= "i",
+	["う"]	= "u",
+	["え"]	= "e",
+	["お"]	= "o",
+	["か"]	= "ka",
+	["き"]	= "ki",
+	["く"]	= "ku",
+	["け"]	= "ke",
+	["こ"]	= "ko",
+	["くゎ"]	= "kwa",
+	["きゃ"]	= "kya",
+	["きゅ"]	= "kyu",
+	["きょ"]	= "kyo",
+	["さ"]	= "sa",
+	["し"]	= "shi",
+	["す"]	= "su",
+	["せ"]	= "se",
+	["そ"]	= "so",
+	["しゃ"]	= "sha",
+	["しゅ"]	= "shu",
+	["しょ"]	= "sho",
+	["た"]	= "ta",
+	["ち"]	= "chi",
+	["つ"]	= "tsu",
+	["て"]	= "te",
+	["と"]	= "to",
+	["ちゃ"]	= "cha",
+	["ちゅ"]	= "chu",
+	["ちょ"]	= "cho",
+	["な"]	= "na",
+	["に"]	= "ni",
+	["ぬ"]	= "nu",
+	["ね"]	= "ne",
+	["の"]	= "no",
+	["にゃ"]	= "nya",
+	["にゅ"]	= "nyu",
+	["にょ"]	= "nyo",
+	["は"]	= "ha",
+	["ひ"]	= "hi",
+	["ふ"]	= "fu",
+	["へ"]	= "he",
+	["ほ"]	= "ho",
+	["ひゃ"]	= "hya",
+	["ひゅ"]	= "hyu",
+	["ひょ"]	= "hyo",
+	["ま"]	= "ma",
+	["み"]	= "mi",
+	["む"]	= "mu",
+	["め"]	= "me",
+	["も"]	= "mo",
+	["みゃ"]	= "mya",
+	["みゅ"]	= "myu",
+	["みょ"]	= "myo",
+	["や"]	= "ya",
+	["ゆ"]	= "yu",
+	["よ"]	= "yo",
+	["ら"]	= "ra",
+	["り"]	= "ri",
+	["る"]	= "ru",
+	["れ"]	= "re",
+	["ろ"]	= "ro",
+	["りゃ"]	= "rya",
+	["りゅ"]	= "ryu",
+	["りょ"]	= "ryo",
+	["わ"]	= "wa",
+	["ゐ"]	= "i",
+	["ゑ"]	= "e",
+	["を"]	= "wo",
+	["ん"]	= "n",
+	["が"]	= "ga",
+	["ぎ"]	= "gi",
+	["ぐ"]	= "gu",
+	["げ"]	= "ge",
+	["ご"]	= "go",
+	["ぐゎ"]	= "gwa",
+	["ぎゃ"]	= "gya",
+	["ぎゅ"]	= "gyu",
+	["ぎょ"]	= "gyo",
+	["ざ"]	= "za",
+	["じ"]	= "ji",
+	["ず"]	= "zu",
+	["ぜ"]	= "ze",
+	["ぞ"]	= "zo",
+	["じゃ"]	= "ja",
+	["じゅ"]	= "ju",
+	["じょ"]	= "jo",
+	["だ"]	= "da",
+	["ぢ"]	= "(ji)",
+	["づ"]	= "(zu)",
+	["で"]	= "de",
+	["ど"]	= "do",
+	["ぢゃ"]	= "(ja)",
+	["ぢゅ"]	= "(ju)",
+	["ぢょ"]	= "(jo)",
+	["ば"]	= "ba",
+	["び"]	= "bi",
+	["ぶ"]	= "bu",
+	["べ"]	= "be",
+	["ぼ"]	= "bo",
+	["びゃ"]	= "bya",
+	["びゅ"]	= "byu",
+	["びょ"]	= "byo",
+	["ぱ"]	= "pa",
+	["ぴ"]	= "pi",
+	["ぷ"]	= "pu",
+	["ぺ"]	= "pe",
+	["ぽ"]	= "po",
+	["ぴゃ"]	= "pya",
+	["ぴゅ"]	= "pyu",
+	["ぴょ"]	= "pyo",
+	["ゔ"]	= "vu",
 
-romaji["ア"]	= "a"
-romaji["イ"]	= "i"
-romaji["ウ"]	= "u"
-romaji["エ"]	= "e"
-romaji["オ"]	= "o"
-romaji["カ"]	= "ka"
-romaji["キ"]	= "ki"
-romaji["ク"]	= "ku"
-romaji["ケ"]	= "ke"
-romaji["コ"]	= "ko"
-romaji["キャ"]	= "kya"
-romaji["キュ"]	= "kyu"
-romaji["キョ"]	= "kyo"
-romaji["サ"]	= "sa"
-romaji["シ"]	= "shi"
-romaji["ス"]	= "su"
-romaji["セ"]	= "se"
-romaji["ソ"]	= "so"
-romaji["シャ"]	= "sha"
-romaji["シュ"]	= "shu"
-romaji["ショ"]	= "sho"
-romaji["タ"]	= "ta"
-romaji["チ"]	= "chi"
-romaji["ツ"]	= "tsu"
-romaji["テ"]	= "te"
-romaji["ト"]	= "to"
-romaji["チャ"]	= "cha"
-romaji["チュ"]	= "chu"
-romaji["チョ"]	= "cho"
-romaji["ナ"]	= "na"
-romaji["ニ"]	= "ni"
-romaji["ヌ"]	= "nu"
-romaji["ネ"]	= "ne"
-romaji["ノ"]	= "no"
-romaji["ニャ"]	= "nya"
-romaji["ニュ"]	= "nyu"
-romaji["ニョ"]	= "nyo"
-romaji["ハ"]	= "ha"
-romaji["ヒ"]	= "hi"
-romaji["フ"]	= "fu"
-romaji["ヘ"]	= "he"
-romaji["ホ"]	= "ho"
-romaji["ヒャ"]	= "hya"
-romaji["ヒュ"]	= "hyu"
-romaji["ヒョ"]	= "hyo"
-romaji["マ"]	= "ma"
-romaji["ミ"]	= "mi"
-romaji["ム"]	= "mu"
-romaji["メ"]	= "me"
-romaji["モ"]	= "mo"
-romaji["ミャ"]	= "mya"
-romaji["ミュ"]	= "myu"
-romaji["ミョ"]	= "myo"
-romaji["ヤ"]	= "ya"
-romaji["ユ"]	= "yu"
-romaji["ヨ"]	= "yo"
-romaji["ラ"]	= "ra"
-romaji["リ"]	= "ri"
-romaji["ル"]	= "ru"
-romaji["レ"]	= "re"
-romaji["ロ"]	= "ro"
-romaji["リャ"]	= "rya"
-romaji["リュ"]	= "ryu"
-romaji["リョ"]	= "ryo"
-romaji["ワ"]	= "wa"
-romaji["ヰ"]	= "i"
-romaji["ヱ"]	= "e"
-romaji["ヲ"]	= "wo"
-romaji["ガ"]	= "ga"
-romaji["ギ"]	= "gi"
-romaji["グ"]	= "gu"
-romaji["ゲ"]	= "ge"
-romaji["ゴ"]	= "go"
-romaji["ギャ"]	= "gya"
-romaji["ギュ"]	= "gyu"
-romaji["ギョ"]	= "gyo"
-romaji["ザ"]	= "za"
-romaji["ジ"]	= "ji"
-romaji["ズ"]	= "zu"
-romaji["ゼ"]	= "ze"
-romaji["ゾ"]	= "zo"
-romaji["ジャ"]	= "ja"
-romaji["ジュ"]	= "ju"
-romaji["ジョ"]	= "jo"
-romaji["ダ"]	= "da"
-romaji["ヂ"]	= "ji"
-romaji["ヅ"]	= "zu"
-romaji["デ"]	= "de"
-romaji["ド"]	= "do"
-romaji["ヂャ"]	= "ja"
-romaji["ヂュ"]	= "ju"
-romaji["ヂョ"]	= "jo"
-romaji["バ"]	= "ba"
-romaji["ビ"]	= "bi"
-romaji["ブ"]	= "bu"
-romaji["ベ"]	= "be"
-romaji["ボ"]	= "bo"
-romaji["ビャ"]	= "bya"
-romaji["ビュ"]	= "byu"
-romaji["ビョ"]	= "byo"
-romaji["パ"]	= "pa"
-romaji["ピ"]	= "pi"
-romaji["プ"]	= "pu"
-romaji["ペ"]	= "pe"
-romaji["ポ"]	= "po"
-romaji["ピャ"]	= "pya"
-romaji["ピュ"]	= "pyu"
-romaji["ピョ"]	= "pyo"
-romaji["イィ"]	= "yi"
-romaji["イェ"]	= "ye"
-romaji["ウァ"]	= "wa"
-romaji["ウィ"]	= "wi"
-romaji["ウゥ"]	= "wu"
-romaji["ウェ"]	= "we"
-romaji["ウォ"]	= "wo"
-romaji["ウャ"]	= "wya"
-romaji["ウュ"]	= "wyu"
-romaji["ウョ"]	= "wyo"
-romaji["ヴァ"]	= "va"
-romaji["ヴィ"]	= "vi"
-romaji["ヴ"]	= "vu"
-romaji["ヴェ"]	= "ve"
-romaji["ヴォ"]	= "vo"
-romaji["ヴャ"]	= "vya"
-romaji["ヴュ"]	= "vyu"
-romaji["ヴョ"]	= "vyo"
-romaji["クァ"]	= "kwa"
-romaji["クィ"]	= "kwi"
-romaji["クゥ"]	= "kwu"
-romaji["クェ"]	= "kwe"
-romaji["クォ"]	= "kwo"
-romaji["グァ"]	= "gwa"
-romaji["グィ"]	= "gwi"
-romaji["グゥ"]	= "gwu"
-romaji["グェ"]	= "gwe"
-romaji["グォ"]	= "gwo"
-romaji["シェ"]	= "she"
-romaji["ジェ"]	= "je"
-romaji["チェ"]	= "che"
-romaji["ツァ"]	= "tsa"
-romaji["ツィ"]	= "tsi"
-romaji["ツェ"]	= "tse"
-romaji["ツォ"]	= "tso"
-romaji["ティ"]	= "ti"
-romaji["トゥ"]	= "tu"
-romaji["テャ"]	= "tya"
-romaji["テュ"]	= "tyu"
-romaji["テョ"]	= "tyo"
-romaji["ディ"]	= "di"
-romaji["ドゥ"]	= "du"
-romaji["デャ"]	= "dya"
-romaji["デュ"]	= "dyu"
-romaji["デョ"]	= "dyo"
-romaji["ファ"]	= "fa"
-romaji["フィ"]	= "fi"
-romaji["フェ"]	= "fe"
-romaji["フォ"]	= "fo"
-romaji["フャ"]	= "fya"
-romaji["フュ"]	= "fyu"
-romaji["フョ"]	= "fyo"
-romaji["スァ"]	= "swa"
-romaji["スィ"]	= "si"
-romaji["スゥ"]	= "swu"
-romaji["スェ"]	= "swe"
-romaji["スォ"]	= "swo"
-romaji["スャ"]	= "sya"
-romaji["スュ"]	= "syu"
-romaji["スョ"]	= "syo"
-romaji["ズァ"]	= "zwa"
-romaji["ズィ"]	= "zi"
-romaji["ズゥ"]	= "zwu"
-romaji["ズェ"]	= "zwe"
-romaji["ズォ"]	= "zwo"
-romaji["ズャ"]	= "zya"
-romaji["ズュ"]	= "zyu"
-romaji["ズョ"]	= "zyo"
-romaji["テァ"]	= "tha"
-romaji["テゥ"]	= "thu"
-romaji["テェ"]	= "tye"
-romaji["テォ"]	= "tho"
-romaji["デァ"]	= "dha"
-romaji["デゥ"]	= "dhu"
-romaji["デェ"]	= "dye"
-romaji["デォ"]	= "dho"
-romaji["トァ"]	= "twa"
-romaji["トィ"]	= "twi"
-romaji["トェ"]	= "twe"
-romaji["トォ"]	= "two"
-romaji["ドァ"]	= "dwa"
-romaji["ドィ"]	= "dwi"
-romaji["ドェ"]	= "dwe"
-romaji["ドォ"]	= "dwo"
-romaji["ヒィ"]	= "hyi"
-romaji["ヒェ"]	= "hye"
-romaji["ビィ"]	= "byi"
-romaji["ビェ"]	= "bye"
-romaji["ピィ"]	= "pyi"
-romaji["ピェ"]	= "pye"
-romaji["ホァ"]	= "hwa"
-romaji["ホィ"]	= "hwi"
-romaji["ホゥ"]	= "hu"
-romaji["ホェ"]	= "hwe"
-romaji["ホォ"]	= "hwo"
-romaji["ムァ"]	= "mwa"
-romaji["ムィ"]	= "mwi"
-romaji["ムゥ"]	= "mwu"
-romaji["ムェ"]	= "mwe"
-romaji["ムォ"]	= "mwo"
-romaji["ヌァ"]	= "nwa"
-romaji["ヌィ"]	= "nwi"
-romaji["ヌゥ"]	= "nwu"
-romaji["ヌェ"]	= "nwe"
-romaji["ヌォ"]	= "nwo"
-romaji["リィ"]	= "ryi"
-romaji["リェ"]	= "rye"
+	["ア"]	= "a",
+	["イ"]	= "i",
+	["ウ"]	= "u",
+	["エ"]	= "e",
+	["オ"]	= "o",
+	["カ"]	= "ka",
+	["キ"]	= "ki",
+	["ク"]	= "ku",
+	["ケ"]	= "ke",
+	["コ"]	= "ko",
+	["キャ"]	= "kya",
+	["キュ"]	= "kyu",
+	["キョ"]	= "kyo",
+	["サ"]	= "sa",
+	["シ"]	= "shi",
+	["ス"]	= "su",
+	["セ"]	= "se",
+	["ソ"]	= "so",
+	["シャ"]	= "sha",
+	["シュ"]	= "shu",
+	["ショ"]	= "sho",
+	["タ"]	= "ta",
+	["チ"]	= "chi",
+	["ツ"]	= "tsu",
+	["テ"]	= "te",
+	["ト"]	= "to",
+	["チャ"]	= "cha",
+	["チュ"]	= "chu",
+	["チョ"]	= "cho",
+	["ナ"]	= "na",
+	["ニ"]	= "ni",
+	["ヌ"]	= "nu",
+	["ネ"]	= "ne",
+	["ノ"]	= "no",
+	["ニャ"]	= "nya",
+	["ニュ"]	= "nyu",
+	["ニョ"]	= "nyo",
+	["ハ"]	= "ha",
+	["ヒ"]	= "hi",
+	["フ"]	= "fu",
+	["ヘ"]	= "he",
+	["ホ"]	= "ho",
+	["ヒャ"]	= "hya",
+	["ヒュ"]	= "hyu",
+	["ヒョ"]	= "hyo",
+	["マ"]	= "ma",
+	["ミ"]	= "mi",
+	["ム"]	= "mu",
+	["メ"]	= "me",
+	["モ"]	= "mo",
+	["ミャ"]	= "mya",
+	["ミュ"]	= "myu",
+	["ミョ"]	= "myo",
+	["ヤ"]	= "ya",
+	["ユ"]	= "yu",
+	["ヨ"]	= "yo",
+	["ラ"]	= "ra",
+	["リ"]	= "ri",
+	["ル"]	= "ru",
+	["レ"]	= "re",
+	["ロ"]	= "ro",
+	["リャ"]	= "rya",
+	["リュ"]	= "ryu",
+	["リョ"]	= "ryo",
+	["ワ"]	= "wa",
+	["ヰ"]	= "i",
+	["ヱ"]	= "e",
+	["ヲ"]	= "wo",
+	["ガ"]	= "ga",
+	["ギ"]	= "gi",
+	["グ"]	= "gu",
+	["ゲ"]	= "ge",
+	["ゴ"]	= "go",
+	["ギャ"]	= "gya",
+	["ギュ"]	= "gyu",
+	["ギョ"]	= "gyo",
+	["ザ"]	= "za",
+	["ジ"]	= "ji",
+	["ズ"]	= "zu",
+	["ゼ"]	= "ze",
+	["ゾ"]	= "zo",
+	["ジャ"]	= "ja",
+	["ジュ"]	= "ju",
+	["ジョ"]	= "jo",
+	["ダ"]	= "da",
+	["ヂ"]	= "ji",
+	["ヅ"]	= "zu",
+	["デ"]	= "de",
+	["ド"]	= "do",
+	["ヂャ"]	= "ja",
+	["ヂュ"]	= "ju",
+	["ヂョ"]	= "jo",
+	["バ"]	= "ba",
+	["ビ"]	= "bi",
+	["ブ"]	= "bu",
+	["ベ"]	= "be",
+	["ボ"]	= "bo",
+	["ビャ"]	= "bya",
+	["ビュ"]	= "byu",
+	["ビョ"]	= "byo",
+	["パ"]	= "pa",
+	["ピ"]	= "pi",
+	["プ"]	= "pu",
+	["ペ"]	= "pe",
+	["ポ"]	= "po",
+	["ピャ"]	= "pya",
+	["ピュ"]	= "pyu",
+	["ピョ"]	= "pyo",
+	["イィ"]	= "yi",
+	["イェ"]	= "ye",
+	["ウァ"]	= "wa",
+	["ウィ"]	= "wi",
+	["ウゥ"]	= "wu",
+	["ウェ"]	= "we",
+	["ウォ"]	= "wo",
+	["ウャ"]	= "wya",
+	["ウュ"]	= "wyu",
+	["ウョ"]	= "wyo",
+	["ヴァ"]	= "va",
+	["ヴィ"]	= "vi",
+	["ヴ"]	= "vu",
+	["ヴェ"]	= "ve",
+	["ヴォ"]	= "vo",
+	["ヴャ"]	= "vya",
+	["ヴュ"]	= "vyu",
+	["ヴョ"]	= "vyo",
+	["クァ"]	= "kwa",
+	["クィ"]	= "kwi",
+	["クゥ"]	= "kwu",
+	["クェ"]	= "kwe",
+	["クォ"]	= "kwo",
+	["グァ"]	= "gwa",
+	["グィ"]	= "gwi",
+	["グゥ"]	= "gwu",
+	["グェ"]	= "gwe",
+	["グォ"]	= "gwo",
+	["シェ"]	= "she",
+	["ジェ"]	= "je",
+	["チェ"]	= "che",
+	["ツァ"]	= "tsa",
+	["ツィ"]	= "tsi",
+	["ツェ"]	= "tse",
+	["ツォ"]	= "tso",
+	["ティ"]	= "ti",
+	["トゥ"]	= "tu",
+	["テャ"]	= "tya",
+	["テュ"]	= "tyu",
+	["テョ"]	= "tyo",
+	["ディ"]	= "di",
+	["ドゥ"]	= "du",
+	["デャ"]	= "dya",
+	["デュ"]	= "dyu",
+	["デョ"]	= "dyo",
+	["ファ"]	= "fa",
+	["フィ"]	= "fi",
+	["フェ"]	= "fe",
+	["フォ"]	= "fo",
+	["フャ"]	= "fya",
+	["フュ"]	= "fyu",
+	["フョ"]	= "fyo",
+	["スァ"]	= "swa",
+	["スィ"]	= "si",
+	["スゥ"]	= "swu",
+	["スェ"]	= "swe",
+	["スォ"]	= "swo",
+	["スャ"]	= "sya",
+	["スュ"]	= "syu",
+	["スョ"]	= "syo",
+	["ズァ"]	= "zwa",
+	["ズィ"]	= "zi",
+	["ズゥ"]	= "zwu",
+	["ズェ"]	= "zwe",
+	["ズォ"]	= "zwo",
+	["ズャ"]	= "zya",
+	["ズュ"]	= "zyu",
+	["ズョ"]	= "zyo",
+	["テァ"]	= "tha",
+	["テゥ"]	= "thu",
+	["テェ"]	= "tye",
+	["テォ"]	= "tho",
+	["デァ"]	= "dha",
+	["デゥ"]	= "dhu",
+	["デェ"]	= "dye",
+	["デォ"]	= "dho",
+	["トァ"]	= "twa",
+	["トィ"]	= "twi",
+	["トェ"]	= "twe",
+	["トォ"]	= "two",
+	["ドァ"]	= "dwa",
+	["ドィ"]	= "dwi",
+	["ドェ"]	= "dwe",
+	["ドォ"]	= "dwo",
+	["ヒィ"]	= "hyi",
+	["ヒェ"]	= "hye",
+	["ビィ"]	= "byi",
+	["ビェ"]	= "bye",
+	["ピィ"]	= "pyi",
+	["ピェ"]	= "pye",
+	["ホァ"]	= "hwa",
+	["ホィ"]	= "hwi",
+	["ホゥ"]	= "hu",
+	["ホェ"]	= "hwe",
+	["ホォ"]	= "hwo",
+	["ムァ"]	= "mwa",
+	["ムィ"]	= "mwi",
+	["ムゥ"]	= "mwu",
+	["ムェ"]	= "mwe",
+	["ムォ"]	= "mwo",
+	["ヌァ"]	= "nwa",
+	["ヌィ"]	= "nwi",
+	["ヌゥ"]	= "nwu",
+	["ヌェ"]	= "nwe",
+	["ヌォ"]	= "nwo",
+	["リィ"]	= "ryi",
+	["リェ"]	= "rye"
+}
 
 function romanize(word)
 	local romanized = ""