123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509 |
- <?php
- /**
- * Romanization lookup table
- *
- * This lookup tables provides a way to transform strings written in a language
- * different from the ones based upon latin letters into plain ASCII.
- *
- * Please note: this is not a scientific transliteration table. It only works
- * oneway from nonlatin to ASCII and it works by simple character replacement
- * only. Specialities of each language are not supported.
- *
- * @todo some keys are used multiple times
- * @todo remove or integrate commented pairs
- *
- * @author Andreas Gohr <andi@splitbrain.org>
- * @author Vitaly Blokhin <vitinfo@vitn.com>
- * @author Bisqwit <bisqwit@iki.fi>
- * @author Arthit Suriyawongkul <arthit@gmail.com>
- * @author Denis Scheither <amorphis@uni-bremen.de>
- * @author Eivind Morland <eivind.morland@gmail.com>
- * @link http://www.uconv.com/translit.htm
- * @link http://kanjidict.stc.cx/hiragana.php?src=2
- * @link http://www.translatum.gr/converter/greek-transliteration.htm
- * @link http://en.wikipedia.org/wiki/Royal_Thai_General_System_of_Transcription
- * @link http://www.btranslations.com/resources/romanization/korean.asp
- */
- return [
- // scandinavian - differs from what we do in deaccent
- 'å' => 'a',
- 'Å' => 'A',
- 'ä' => 'a',
- 'Ä' => 'A',
- 'ö' => 'o',
- 'Ö' => 'O',
- //russian cyrillic
- 'а' => 'a',
- 'А' => 'A',
- 'б' => 'b',
- 'Б' => 'B',
- 'в' => 'v',
- 'В' => 'V',
- 'г' => 'g',
- 'Г' => 'G',
- 'д' => 'd',
- 'Д' => 'D',
- 'е' => 'e',
- 'Е' => 'E',
- 'ё' => 'jo',
- 'Ё' => 'Jo',
- 'ж' => 'zh',
- 'Ж' => 'Zh',
- 'з' => 'z',
- 'З' => 'Z',
- 'и' => 'i',
- 'И' => 'I',
- 'й' => 'j',
- 'Й' => 'J',
- 'к' => 'k',
- 'К' => 'K',
- 'л' => 'l',
- 'Л' => 'L',
- 'м' => 'm',
- 'М' => 'M',
- 'н' => 'n',
- 'Н' => 'N',
- 'о' => 'o',
- 'О' => 'O',
- 'п' => 'p',
- 'П' => 'P',
- 'р' => 'r',
- 'Р' => 'R',
- 'с' => 's',
- 'С' => 'S',
- 'т' => 't',
- 'Т' => 'T',
- 'у' => 'u',
- 'У' => 'U',
- 'ф' => 'f',
- 'Ф' => 'F',
- 'х' => 'x',
- 'Х' => 'X',
- 'ц' => 'c',
- 'Ц' => 'C',
- 'ч' => 'ch',
- 'Ч' => 'Ch',
- 'ш' => 'sh',
- 'Ш' => 'Sh',
- 'щ' => 'sch',
- 'Щ' => 'Sch',
- 'ъ' => '',
- 'Ъ' => '',
- 'ы' => 'y',
- 'Ы' => 'Y',
- 'ь' => '',
- 'Ь' => '',
- 'э' => 'eh',
- 'Э' => 'Eh',
- 'ю' => 'ju',
- 'Ю' => 'Ju',
- 'я' => 'ja',
- 'Я' => 'Ja',
- // Ukrainian cyrillic
- 'Ґ' => 'Gh',
- 'ґ' => 'gh',
- 'Є' => 'Je',
- 'є' => 'je',
- 'І' => 'I',
- 'і' => 'i',
- 'Ї' => 'Ji',
- 'ї' => 'ji',
- // Georgian
- 'ა' => 'a',
- 'ბ' => 'b',
- 'გ' => 'g',
- 'დ' => 'd',
- 'ე' => 'e',
- 'ვ' => 'v',
- 'ზ' => 'z',
- 'თ' => 'th',
- 'ი' => 'i',
- 'კ' => 'p',
- 'ლ' => 'l',
- 'მ' => 'm',
- 'ნ' => 'n',
- 'ო' => 'o',
- 'პ' => 'p',
- 'ჟ' => 'zh',
- 'რ' => 'r',
- 'ს' => 's',
- 'ტ' => 't',
- 'უ' => 'u',
- 'ფ' => 'ph',
- 'ქ' => 'kh',
- 'ღ' => 'gh',
- 'ყ' => 'q',
- 'შ' => 'sh',
- 'ჩ' => 'ch',
- 'ც' => 'c',
- 'ძ' => 'dh',
- 'წ' => 'w',
- 'ჭ' => 'j',
- 'ხ' => 'x',
- 'ჯ' => 'jh',
- 'ჰ' => 'xh',
- //Sanskrit
- 'अ' => 'a',
- 'आ' => 'ah',
- 'इ' => 'i',
- 'ई' => 'ih',
- 'उ' => 'u',
- 'ऊ' => 'uh',
- 'ऋ' => 'ry',
- 'ॠ' => 'ryh',
- 'ऌ' => 'ly',
- 'ॡ' => 'lyh',
- 'ए' => 'e',
- 'ऐ' => 'ay',
- 'ओ' => 'o',
- 'औ' => 'aw',
- 'अं' => 'amh',
- 'अः' => 'aq',
- 'क' => 'k',
- 'ख' => 'kh',
- 'ग' => 'g',
- 'घ' => 'gh',
- 'ङ' => 'nh',
- 'च' => 'c',
- 'छ' => 'ch',
- 'ज' => 'j',
- 'झ' => 'jh',
- 'ञ' => 'ny',
- 'ट' => 'tq',
- 'ठ' => 'tqh',
- 'ड' => 'dq',
- 'ढ' => 'dqh',
- 'ण' => 'nq',
- 'त' => 't',
- 'थ' => 'th',
- 'द' => 'd',
- 'ध' => 'dh',
- 'न' => 'n',
- 'प' => 'p',
- 'फ' => 'ph',
- 'ब' => 'b',
- 'भ' => 'bh',
- 'म' => 'm',
- 'य' => 'z',
- 'र' => 'r',
- 'ल' => 'l',
- 'व' => 'v',
- 'श' => 'sh',
- 'ष' => 'sqh',
- 'स' => 's',
- 'ह' => 'x',
- //Sanskrit diacritics
- 'Ā' => 'A',
- 'Ī' => 'I',
- 'Ū' => 'U',
- 'Ṛ' => 'R',
- 'Ṝ' => 'R',
- 'Ṅ' => 'N',
- 'Ñ' => 'N',
- 'Ṭ' => 'T',
- 'Ḍ' => 'D',
- 'Ṇ' => 'N',
- 'Ś' => 'S',
- 'Ṣ' => 'S',
- 'Ṁ' => 'M',
- 'Ṃ' => 'M',
- 'Ḥ' => 'H',
- 'Ḷ' => 'L',
- 'Ḹ' => 'L',
- 'ā' => 'a',
- 'ī' => 'i',
- 'ū' => 'u',
- 'ṛ' => 'r',
- 'ṝ' => 'r',
- 'ṅ' => 'n',
- 'ñ' => 'n',
- 'ṭ' => 't',
- 'ḍ' => 'd',
- 'ṇ' => 'n',
- 'ś' => 's',
- 'ṣ' => 's',
- 'ṁ' => 'm',
- 'ṃ' => 'm',
- 'ḥ' => 'h',
- 'ḷ' => 'l',
- 'ḹ' => 'l',
- //Hebrew
- 'א' => 'a',
- 'ב' => 'b',
- 'ג' => 'g',
- 'ד' => 'd',
- 'ה' => 'h',
- 'ו' => 'v',
- 'ז' => 'z',
- 'ח' => 'kh',
- 'ט' => 'th',
- 'י' => 'y',
- 'ך' => 'h',
- 'כ' => 'k',
- 'ל' => 'l',
- 'ם' => 'm',
- 'מ' => 'm',
- 'ן' => 'n',
- 'נ' => 'n',
- 'ס' => 's',
- 'ע' => 'ah',
- 'ף' => 'f',
- 'פ' => 'p',
- 'ץ' => 'c',
- 'צ' => 'c',
- 'ק' => 'q',
- 'ר' => 'r',
- 'ש' => 'sh',
- 'ת' => 't',
- //Arabic
- 'ا' => 'a',
- 'ب' => 'b',
- 'ت' => 't',
- 'ث' => 'th',
- 'ج' => 'g',
- 'ح' => 'xh',
- 'خ' => 'x',
- 'د' => 'd',
- 'ذ' => 'dh',
- 'ر' => 'r',
- 'ز' => 'z',
- 'س' => 's',
- 'ش' => 'sh',
- 'ص' => 's\'',
- 'ض' => 'd\'',
- 'ط' => 't\'',
- 'ظ' => 'z\'',
- 'ع' => 'y',
- 'غ' => 'gh',
- 'ف' => 'f',
- 'ق' => 'q',
- 'ك' => 'k',
- 'ل' => 'l',
- 'م' => 'm',
- 'ن' => 'n',
- 'ه' => 'x\'',
- 'و' => 'u',
- 'ي' => 'i',
- // Japanese characters (last update: 2008-05-09)
- // Japanese hiragana
- // 3 character syllables, っ doubles the consonant after
- 'っちゃ' => 'ccha',
- 'っちぇ' => 'cche',
- 'っちょ' => 'ccho',
- 'っちゅ' => 'cchu',
- 'っびゃ' => 'bbya',
- 'っびぇ' => 'bbye',
- 'っびぃ' => 'bbyi',
- 'っびょ' => 'bbyo',
- 'っびゅ' => 'bbyu',
- 'っぴゃ' => 'ppya',
- 'っぴぇ' => 'ppye',
- 'っぴぃ' => 'ppyi',
- 'っぴょ' => 'ppyo',
- 'っぴゅ' => 'ppyu',
- 'っちゃ' => 'ccha',
- 'っちぇ' => 'cche',
- 'っち' => 'cchi',
- 'っちょ' => 'ccho',
- 'っちゅ' => 'cchu',
- // 'っひゃ'=>'hya',
- // 'っひぇ'=>'hye',
- // 'っひぃ'=>'hyi',
- // 'っひょ'=>'hyo',
- // 'っひゅ'=>'hyu',
- 'っきゃ' => 'kkya',
- 'っきぇ' => 'kkye',
- 'っきぃ' => 'kkyi',
- 'っきょ' => 'kkyo',
- 'っきゅ' => 'kkyu',
- 'っぎゃ' => 'ggya',
- 'っぎぇ' => 'ggye',
- 'っぎぃ' => 'ggyi',
- 'っぎょ' => 'ggyo',
- 'っぎゅ' => 'ggyu',
- 'っみゃ' => 'mmya',
- 'っみぇ' => 'mmye',
- 'っみぃ' => 'mmyi',
- 'っみょ' => 'mmyo',
- 'っみゅ' => 'mmyu',
- 'っにゃ' => 'nnya',
- 'っにぇ' => 'nnye',
- 'っにぃ' => 'nnyi',
- 'っにょ' => 'nnyo',
- 'っにゅ' => 'nnyu',
- 'っりゃ' => 'rrya',
- 'っりぇ' => 'rrye',
- 'っりぃ' => 'rryi',
- 'っりょ' => 'rryo',
- 'っりゅ' => 'rryu',
- 'っしゃ' => 'ssha',
- 'っしぇ' => 'sshe',
- 'っし' => 'sshi',
- 'っしょ' => 'ssho',
- 'っしゅ' => 'sshu',
- // seperate hiragana 'n' ('n' + 'i' != 'ni', normally we would write "kon'nichi wa" but the
- // apostrophe would be converted to _ anyway)
- 'んあ' => 'n_a',
- 'んえ' => 'n_e',
- 'んい' => 'n_i',
- 'んお' => 'n_o',
- 'んう' => 'n_u',
- 'んや' => 'n_ya',
- 'んよ' => 'n_yo',
- 'んゆ' => 'n_yu',
- // 2 character syllables - normal
- 'ふぁ' => 'fa',
- 'ふぇ' => 'fe',
- 'ふぃ' => 'fi',
- 'ふぉ' => 'fo',
- 'ちゃ' => 'cha',
- 'ちぇ' => 'che',
- 'ち' => 'chi',
- 'ちょ' => 'cho',
- 'ちゅ' => 'chu',
- 'ひゃ' => 'hya',
- 'ひぇ' => 'hye',
- 'ひぃ' => 'hyi',
- 'ひょ' => 'hyo',
- 'ひゅ' => 'hyu',
- 'びゃ' => 'bya',
- 'びぇ' => 'bye',
- 'びぃ' => 'byi',
- 'びょ' => 'byo',
- 'びゅ' => 'byu',
- 'ぴゃ' => 'pya',
- 'ぴぇ' => 'pye',
- 'ぴぃ' => 'pyi',
- 'ぴょ' => 'pyo',
- 'ぴゅ' => 'pyu',
- 'きゃ' => 'kya',
- 'きぇ' => 'kye',
- 'きぃ' => 'kyi',
- 'きょ' => 'kyo',
- 'きゅ' => 'kyu',
- 'ぎゃ' => 'gya',
- 'ぎぇ' => 'gye',
- 'ぎぃ' => 'gyi',
- 'ぎょ' => 'gyo',
- 'ぎゅ' => 'gyu',
- 'みゃ' => 'mya',
- 'みぇ' => 'mye',
- 'みぃ' => 'myi',
- 'みょ' => 'myo',
- 'みゅ' => 'myu',
- 'にゃ' => 'nya',
- 'にぇ' => 'nye',
- 'にぃ' => 'nyi',
- 'にょ' => 'nyo',
- 'にゅ' => 'nyu',
- 'りゃ' => 'rya',
- 'りぇ' => 'rye',
- 'りぃ' => 'ryi',
- 'りょ' => 'ryo',
- 'りゅ' => 'ryu',
- 'しゃ' => 'sha',
- 'しぇ' => 'she',
- 'し' => 'shi',
- 'しょ' => 'sho',
- 'しゅ' => 'shu',
- 'じゃ' => 'ja',
- 'じぇ' => 'je',
- 'じょ' => 'jo',
- 'じゅ' => 'ju',
- 'うぇ' => 'we',
- 'うぃ' => 'wi',
- 'いぇ' => 'ye',
- // 2 character syllables, っ doubles the consonant after
- 'っば' => 'bba',
- 'っべ' => 'bbe',
- 'っび' => 'bbi',
- 'っぼ' => 'bbo',
- 'っぶ' => 'bbu',
- 'っぱ' => 'ppa',
- 'っぺ' => 'ppe',
- 'っぴ' => 'ppi',
- 'っぽ' => 'ppo',
- 'っぷ' => 'ppu',
- 'った' => 'tta',
- 'って' => 'tte',
- 'っち' => 'cchi',
- 'っと' => 'tto',
- 'っつ' => 'ttsu',
- 'っだ' => 'dda',
- 'っで' => 'dde',
- 'っぢ' => 'ddi',
- 'っど' => 'ddo',
- 'っづ' => 'ddu',
- 'っが' => 'gga',
- 'っげ' => 'gge',
- 'っぎ' => 'ggi',
- 'っご' => 'ggo',
- 'っぐ' => 'ggu',
- 'っか' => 'kka',
- 'っけ' => 'kke',
- 'っき' => 'kki',
- 'っこ' => 'kko',
- 'っく' => 'kku',
- 'っま' => 'mma',
- 'っめ' => 'mme',
- 'っみ' => 'mmi',
- 'っも' => 'mmo',
- 'っむ' => 'mmu',
- 'っな' => 'nna',
- 'っね' => 'nne',
- 'っに' => 'nni',
- 'っの' => 'nno',
- 'っぬ' => 'nnu',
- 'っら' => 'rra',
- 'っれ' => 'rre',
- 'っり' => 'rri',
- 'っろ' => 'rro',
- 'っる' => 'rru',
- 'っさ' => 'ssa',
- 'っせ' => 'sse',
- 'っし' => 'sshi',
- 'っそ' => 'sso',
- 'っす' => 'ssu',
- 'っざ' => 'zza',
- 'っぜ' => 'zze',
- 'っじ' => 'jji',
- 'っぞ' => 'zzo',
- 'っず' => 'zzu',
- // 1 character syllabels
- 'あ' => 'a',
- 'え' => 'e',
- 'い' => 'i',
- 'お' => 'o',
- 'う' => 'u',
- 'ん' => 'n',
- 'は' => 'ha',
- 'へ' => 'he',
- 'ひ' => 'hi',
- 'ほ' => 'ho',
- 'ふ' => 'fu',
- 'ば' => 'ba',
- 'べ' => 'be',
- 'び' => 'bi',
- 'ぼ' => 'bo',
- 'ぶ' => 'bu',
- 'ぱ' => 'pa',
- 'ぺ' => 'pe',
- 'ぴ' => 'pi',
- 'ぽ' => 'po',
- 'ぷ' => 'pu',
- 'た' => 'ta',
- 'て' => 'te',
- 'ち' => 'chi',
- 'と' => 'to',
- 'つ' => 'tsu',
- 'だ' => 'da',
- 'で' => 'de',
- 'ぢ' => 'di',
- 'ど' => 'do',
- 'づ' => 'du',
- 'が' => 'ga',
- 'げ' => 'ge',
- 'ぎ' => 'gi',
- 'ご' => 'go',
- 'ぐ' => 'gu',
- 'か' => 'ka',
- 'け' => 'ke',
- 'き' => 'ki',
- 'こ' => 'ko',
- 'く' => 'ku',
- 'ま' => 'ma',
- 'め' => 'me',
- 'み' => 'mi',
- 'も' => 'mo',
- 'む' => 'mu',
- 'な' => 'na',
- 'ね' => 'ne',
- 'に' => 'ni',
- 'の' => 'no',
- 'ぬ' => 'nu',
- 'ら' => 'ra',
- 'れ' => 're',
- 'り' => 'ri',
- 'ろ' => 'ro',
- 'る' => 'ru',
- 'さ' => 'sa',
- 'せ' => 'se',
- 'し' => 'shi',
- 'そ' => 'so',
- 'す' => 'su',
- 'わ' => 'wa',
- 'を' => 'wo',
- 'ざ' => 'za',
- 'ぜ' => 'ze',
- 'じ' => 'ji',
- 'ぞ' => 'zo',
- 'ず' => 'zu',
- 'や' => 'ya',
- 'よ' => 'yo',
- 'ゆ' => 'yu',
- // old characters
- 'ゑ' => 'we',
- 'ゐ' => 'wi',
- // convert what's left (probably only kicks in when something's missing above)
- // 'ぁ'=>'a','ぇ'=>'e','ぃ'=>'i','ぉ'=>'o','ぅ'=>'u',
- // 'ゃ'=>'ya','ょ'=>'yo','ゅ'=>'yu',
- // never seen one of those (disabled for the moment)
- // 'ヴぁ'=>'va','ヴぇ'=>'ve','ヴぃ'=>'vi','ヴぉ'=>'vo','ヴ'=>'vu',
- // 'でゃ'=>'dha','でぇ'=>'dhe','でぃ'=>'dhi','でょ'=>'dho','でゅ'=>'dhu',
- // 'どぁ'=>'dwa','どぇ'=>'dwe','どぃ'=>'dwi','どぉ'=>'dwo','どぅ'=>'dwu',
- // 'ぢゃ'=>'dya','ぢぇ'=>'dye','ぢぃ'=>'dyi','ぢょ'=>'dyo','ぢゅ'=>'dyu',
- // 'ふぁ'=>'fwa','ふぇ'=>'fwe','ふぃ'=>'fwi','ふぉ'=>'fwo','ふぅ'=>'fwu',
- // 'ふゃ'=>'fya','ふぇ'=>'fye','ふぃ'=>'fyi','ふょ'=>'fyo','ふゅ'=>'fyu',
- // 'すぁ'=>'swa','すぇ'=>'swe','すぃ'=>'swi','すぉ'=>'swo','すぅ'=>'swu',
- // 'てゃ'=>'tha','てぇ'=>'the','てぃ'=>'thi','てょ'=>'tho','てゅ'=>'thu',
- // 'つゃ'=>'tsa','つぇ'=>'tse','つぃ'=>'tsi','つょ'=>'tso','つ'=>'tsu',
- // 'とぁ'=>'twa','とぇ'=>'twe','とぃ'=>'twi','とぉ'=>'two','とぅ'=>'twu',
- // 'ヴゃ'=>'vya','ヴぇ'=>'vye','ヴぃ'=>'vyi','ヴょ'=>'vyo','ヴゅ'=>'vyu',
- // 'うぁ'=>'wha','うぇ'=>'whe','うぃ'=>'whi','うぉ'=>'who','うぅ'=>'whu',
- // 'じゃ'=>'zha','じぇ'=>'zhe','じぃ'=>'zhi','じょ'=>'zho','じゅ'=>'zhu',
- // 'じゃ'=>'zya','じぇ'=>'zye','じぃ'=>'zyi','じょ'=>'zyo','じゅ'=>'zyu',
- // 'spare' characters from other romanization systems
- // 'だ'=>'da','で'=>'de','ぢ'=>'di','ど'=>'do','づ'=>'du',
- // 'ら'=>'la','れ'=>'le','り'=>'li','ろ'=>'lo','る'=>'lu',
- // 'さ'=>'sa','せ'=>'se','し'=>'si','そ'=>'so','す'=>'su',
- // 'ちゃ'=>'cya','ちぇ'=>'cye','ちぃ'=>'cyi','ちょ'=>'cyo','ちゅ'=>'cyu',
- //'じゃ'=>'jya','じぇ'=>'jye','じぃ'=>'jyi','じょ'=>'jyo','じゅ'=>'jyu',
- //'りゃ'=>'lya','りぇ'=>'lye','りぃ'=>'lyi','りょ'=>'lyo','りゅ'=>'lyu',
- //'しゃ'=>'sya','しぇ'=>'sye','しぃ'=>'syi','しょ'=>'syo','しゅ'=>'syu',
- //'ちゃ'=>'tya','ちぇ'=>'tye','ちぃ'=>'tyi','ちょ'=>'tyo','ちゅ'=>'tyu',
- //'し'=>'ci',,い'=>'yi','ぢ'=>'dzi',
- //'っじゃ'=>'jja','っじぇ'=>'jje','っじ'=>'jji','っじょ'=>'jjo','っじゅ'=>'jju',
- // Japanese katakana
- // 4 character syllables: ッ doubles the consonant after, ー doubles the vowel before
- // (usualy written with macron, but we don't want that in our URLs)
- 'ッビャー' => 'bbyaa',
- 'ッビェー' => 'bbyee',
- 'ッビィー' => 'bbyii',
- 'ッビョー' => 'bbyoo',
- 'ッビュー' => 'bbyuu',
- 'ッピャー' => 'ppyaa',
- 'ッピェー' => 'ppyee',
- 'ッピィー' => 'ppyii',
- 'ッピョー' => 'ppyoo',
- 'ッピュー' => 'ppyuu',
- 'ッキャー' => 'kkyaa',
- 'ッキェー' => 'kkyee',
- 'ッキィー' => 'kkyii',
- 'ッキョー' => 'kkyoo',
- 'ッキュー' => 'kkyuu',
- 'ッギャー' => 'ggyaa',
- 'ッギェー' => 'ggyee',
- 'ッギィー' => 'ggyii',
- 'ッギョー' => 'ggyoo',
- 'ッギュー' => 'ggyuu',
- 'ッミャー' => 'mmyaa',
- 'ッミェー' => 'mmyee',
- 'ッミィー' => 'mmyii',
- 'ッミョー' => 'mmyoo',
- 'ッミュー' => 'mmyuu',
- 'ッニャー' => 'nnyaa',
- 'ッニェー' => 'nnyee',
- 'ッニィー' => 'nnyii',
- 'ッニョー' => 'nnyoo',
- 'ッニュー' => 'nnyuu',
- 'ッリャー' => 'rryaa',
- 'ッリェー' => 'rryee',
- 'ッリィー' => 'rryii',
- 'ッリョー' => 'rryoo',
- 'ッリュー' => 'rryuu',
- 'ッシャー' => 'sshaa',
- 'ッシェー' => 'sshee',
- 'ッシー' => 'sshii',
- 'ッショー' => 'sshoo',
- 'ッシュー' => 'sshuu',
- 'ッチャー' => 'cchaa',
- 'ッチェー' => 'cchee',
- 'ッチー' => 'cchii',
- 'ッチョー' => 'cchoo',
- 'ッチュー' => 'cchuu',
- 'ッティー' => 'ttii',
- 'ッヂィー' => 'ddii',
- // 3 character syllables - doubled vowels
- 'ファー' => 'faa',
- 'フェー' => 'fee',
- 'フィー' => 'fii',
- 'フォー' => 'foo',
- 'フャー' => 'fyaa',
- 'フェー' => 'fyee',
- 'フィー' => 'fyii',
- 'フョー' => 'fyoo',
- 'フュー' => 'fyuu',
- 'ヒャー' => 'hyaa',
- 'ヒェー' => 'hyee',
- 'ヒィー' => 'hyii',
- 'ヒョー' => 'hyoo',
- 'ヒュー' => 'hyuu',
- 'ビャー' => 'byaa',
- 'ビェー' => 'byee',
- 'ビィー' => 'byii',
- 'ビョー' => 'byoo',
- 'ビュー' => 'byuu',
- 'ピャー' => 'pyaa',
- 'ピェー' => 'pyee',
- 'ピィー' => 'pyii',
- 'ピョー' => 'pyoo',
- 'ピュー' => 'pyuu',
- 'キャー' => 'kyaa',
- 'キェー' => 'kyee',
- 'キィー' => 'kyii',
- 'キョー' => 'kyoo',
- 'キュー' => 'kyuu',
- 'ギャー' => 'gyaa',
- 'ギェー' => 'gyee',
- 'ギィー' => 'gyii',
- 'ギョー' => 'gyoo',
- 'ギュー' => 'gyuu',
- 'ミャー' => 'myaa',
- 'ミェー' => 'myee',
- 'ミィー' => 'myii',
- 'ミョー' => 'myoo',
- 'ミュー' => 'myuu',
- 'ニャー' => 'nyaa',
- 'ニェー' => 'nyee',
- 'ニィー' => 'nyii',
- 'ニョー' => 'nyoo',
- 'ニュー' => 'nyuu',
- 'リャー' => 'ryaa',
- 'リェー' => 'ryee',
- 'リィー' => 'ryii',
- 'リョー' => 'ryoo',
- 'リュー' => 'ryuu',
- 'シャー' => 'shaa',
- 'シェー' => 'shee',
- 'シー' => 'shii',
- 'ショー' => 'shoo',
- 'シュー' => 'shuu',
- 'ジャー' => 'jaa',
- 'ジェー' => 'jee',
- 'ジー' => 'jii',
- 'ジョー' => 'joo',
- 'ジュー' => 'juu',
- 'スァー' => 'swaa',
- 'スェー' => 'swee',
- 'スィー' => 'swii',
- 'スォー' => 'swoo',
- 'スゥー' => 'swuu',
- 'デァー' => 'daa',
- 'デェー' => 'dee',
- 'ディー' => 'dii',
- 'デォー' => 'doo',
- 'デゥー' => 'duu',
- 'チャー' => 'chaa',
- 'チェー' => 'chee',
- 'チー' => 'chii',
- 'チョー' => 'choo',
- 'チュー' => 'chuu',
- 'ヂャー' => 'dyaa',
- 'ヂェー' => 'dyee',
- 'ヂィー' => 'dyii',
- 'ヂョー' => 'dyoo',
- 'ヂュー' => 'dyuu',
- 'ツャー' => 'tsaa',
- 'ツェー' => 'tsee',
- 'ツィー' => 'tsii',
- 'ツョー' => 'tsoo',
- 'ツー' => 'tsuu',
- 'トァー' => 'twaa',
- 'トェー' => 'twee',
- 'トィー' => 'twii',
- 'トォー' => 'twoo',
- 'トゥー' => 'twuu',
- 'ドァー' => 'dwaa',
- 'ドェー' => 'dwee',
- 'ドィー' => 'dwii',
- 'ドォー' => 'dwoo',
- 'ドゥー' => 'dwuu',
- 'ウァー' => 'whaa',
- 'ウェー' => 'whee',
- 'ウィー' => 'whii',
- 'ウォー' => 'whoo',
- 'ウゥー' => 'whuu',
- 'ヴャー' => 'vyaa',
- 'ヴェー' => 'vyee',
- 'ヴィー' => 'vyii',
- 'ヴョー' => 'vyoo',
- 'ヴュー' => 'vyuu',
- 'ヴァー' => 'vaa',
- 'ヴェー' => 'vee',
- 'ヴィー' => 'vii',
- 'ヴォー' => 'voo',
- 'ヴー' => 'vuu',
- 'ウェー' => 'wee',
- 'ウィー' => 'wii',
- 'イェー' => 'yee',
- 'ティー' => 'tii',
- 'ヂィー' => 'dii',
- // 3 character syllables - doubled consonants
- 'ッビャ' => 'bbya',
- 'ッビェ' => 'bbye',
- 'ッビィ' => 'bbyi',
- 'ッビョ' => 'bbyo',
- 'ッビュ' => 'bbyu',
- 'ッピャ' => 'ppya',
- 'ッピェ' => 'ppye',
- 'ッピィ' => 'ppyi',
- 'ッピョ' => 'ppyo',
- 'ッピュ' => 'ppyu',
- 'ッキャ' => 'kkya',
- 'ッキェ' => 'kkye',
- 'ッキィ' => 'kkyi',
- 'ッキョ' => 'kkyo',
- 'ッキュ' => 'kkyu',
- 'ッギャ' => 'ggya',
- 'ッギェ' => 'ggye',
- 'ッギィ' => 'ggyi',
- 'ッギョ' => 'ggyo',
- 'ッギュ' => 'ggyu',
- 'ッミャ' => 'mmya',
- 'ッミェ' => 'mmye',
- 'ッミィ' => 'mmyi',
- 'ッミョ' => 'mmyo',
- 'ッミュ' => 'mmyu',
- 'ッニャ' => 'nnya',
- 'ッニェ' => 'nnye',
- 'ッニィ' => 'nnyi',
- 'ッニョ' => 'nnyo',
- 'ッニュ' => 'nnyu',
- 'ッリャ' => 'rrya',
- 'ッリェ' => 'rrye',
- 'ッリィ' => 'rryi',
- 'ッリョ' => 'rryo',
- 'ッリュ' => 'rryu',
- 'ッシャ' => 'ssha',
- 'ッシェ' => 'sshe',
- 'ッシ' => 'sshi',
- 'ッショ' => 'ssho',
- 'ッシュ' => 'sshu',
- 'ッチャ' => 'ccha',
- 'ッチェ' => 'cche',
- 'ッチ' => 'cchi',
- 'ッチョ' => 'ccho',
- 'ッチュ' => 'cchu',
- 'ッティ' => 'tti',
- 'ッヂィ' => 'ddi',
- // 3 character syllables - doubled vowel and consonants
- 'ッバー' => 'bbaa',
- 'ッベー' => 'bbee',
- 'ッビー' => 'bbii',
- 'ッボー' => 'bboo',
- 'ッブー' => 'bbuu',
- 'ッパー' => 'ppaa',
- 'ッペー' => 'ppee',
- 'ッピー' => 'ppii',
- 'ッポー' => 'ppoo',
- 'ップー' => 'ppuu',
- 'ッケー' => 'kkee',
- 'ッキー' => 'kkii',
- 'ッコー' => 'kkoo',
- 'ックー' => 'kkuu',
- 'ッカー' => 'kkaa',
- 'ッガー' => 'ggaa',
- 'ッゲー' => 'ggee',
- 'ッギー' => 'ggii',
- 'ッゴー' => 'ggoo',
- 'ッグー' => 'gguu',
- 'ッマー' => 'maa',
- 'ッメー' => 'mee',
- 'ッミー' => 'mii',
- 'ッモー' => 'moo',
- 'ッムー' => 'muu',
- 'ッナー' => 'nnaa',
- 'ッネー' => 'nnee',
- 'ッニー' => 'nnii',
- 'ッノー' => 'nnoo',
- 'ッヌー' => 'nnuu',
- 'ッラー' => 'rraa',
- 'ッレー' => 'rree',
- 'ッリー' => 'rrii',
- 'ッロー' => 'rroo',
- 'ッルー' => 'rruu',
- 'ッサー' => 'ssaa',
- 'ッセー' => 'ssee',
- 'ッシー' => 'sshii',
- 'ッソー' => 'ssoo',
- 'ッスー' => 'ssuu',
- 'ッザー' => 'zzaa',
- 'ッゼー' => 'zzee',
- 'ッジー' => 'jjii',
- 'ッゾー' => 'zzoo',
- 'ッズー' => 'zzuu',
- 'ッター' => 'ttaa',
- 'ッテー' => 'ttee',
- 'ッチー' => 'chii',
- 'ットー' => 'ttoo',
- 'ッツー' => 'ttsuu',
- 'ッダー' => 'ddaa',
- 'ッデー' => 'ddee',
- 'ッヂー' => 'ddii',
- 'ッドー' => 'ddoo',
- 'ッヅー' => 'dduu',
- // 2 character syllables - normal
- 'ファ' => 'fa',
- 'フェ' => 'fe',
- 'フィ' => 'fi',
- 'フォ' => 'fo',
- 'フゥ' => 'fu',
- // 'フャ'=>'fya',
- // 'フェ'=>'fye',
- // 'フィ'=>'fyi',
- // 'フョ'=>'fyo',
- // 'フュ'=>'fyu',
- 'フャ' => 'fa',
- 'フェ' => 'fe',
- 'フィ' => 'fi',
- 'フョ' => 'fo',
- 'フュ' => 'fu',
- 'ヒャ' => 'hya',
- 'ヒェ' => 'hye',
- 'ヒィ' => 'hyi',
- 'ヒョ' => 'hyo',
- 'ヒュ' => 'hyu',
- 'ビャ' => 'bya',
- 'ビェ' => 'bye',
- 'ビィ' => 'byi',
- 'ビョ' => 'byo',
- 'ビュ' => 'byu',
- 'ピャ' => 'pya',
- 'ピェ' => 'pye',
- 'ピィ' => 'pyi',
- 'ピョ' => 'pyo',
- 'ピュ' => 'pyu',
- 'キャ' => 'kya',
- 'キェ' => 'kye',
- 'キィ' => 'kyi',
- 'キョ' => 'kyo',
- 'キュ' => 'kyu',
- 'ギャ' => 'gya',
- 'ギェ' => 'gye',
- 'ギィ' => 'gyi',
- 'ギョ' => 'gyo',
- 'ギュ' => 'gyu',
- 'ミャ' => 'mya',
- 'ミェ' => 'mye',
- 'ミィ' => 'myi',
- 'ミョ' => 'myo',
- 'ミュ' => 'myu',
- 'ニャ' => 'nya',
- 'ニェ' => 'nye',
- 'ニィ' => 'nyi',
- 'ニョ' => 'nyo',
- 'ニュ' => 'nyu',
- 'リャ' => 'rya',
- 'リェ' => 'rye',
- 'リィ' => 'ryi',
- 'リョ' => 'ryo',
- 'リュ' => 'ryu',
- 'シャ' => 'sha',
- 'シェ' => 'she',
- 'ショ' => 'sho',
- 'シュ' => 'shu',
- 'ジャ' => 'ja',
- 'ジェ' => 'je',
- 'ジョ' => 'jo',
- 'ジュ' => 'ju',
- 'スァ' => 'swa',
- 'スェ' => 'swe',
- 'スィ' => 'swi',
- 'スォ' => 'swo',
- 'スゥ' => 'swu',
- 'デァ' => 'da',
- 'デェ' => 'de',
- 'ディ' => 'di',
- 'デォ' => 'do',
- 'デゥ' => 'du',
- 'チャ' => 'cha',
- 'チェ' => 'che',
- 'チ' => 'chi',
- 'チョ' => 'cho',
- 'チュ' => 'chu',
- // 'ヂャ'=>'dya',
- // 'ヂェ'=>'dye',
- // 'ヂィ'=>'dyi',
- // 'ヂョ'=>'dyo',
- // 'ヂュ'=>'dyu',
- 'ツャ' => 'tsa',
- 'ツェ' => 'tse',
- 'ツィ' => 'tsi',
- 'ツョ' => 'tso',
- 'ツ' => 'tsu',
- 'トァ' => 'twa',
- 'トェ' => 'twe',
- 'トィ' => 'twi',
- 'トォ' => 'two',
- 'トゥ' => 'twu',
- 'ドァ' => 'dwa',
- 'ドェ' => 'dwe',
- 'ドィ' => 'dwi',
- 'ドォ' => 'dwo',
- 'ドゥ' => 'dwu',
- 'ウァ' => 'wha',
- 'ウェ' => 'whe',
- 'ウィ' => 'whi',
- 'ウォ' => 'who',
- 'ウゥ' => 'whu',
- 'ヴャ' => 'vya',
- 'ヴェ' => 'vye',
- 'ヴィ' => 'vyi',
- 'ヴョ' => 'vyo',
- 'ヴュ' => 'vyu',
- 'ヴァ' => 'va',
- 'ヴェ' => 've',
- 'ヴィ' => 'vi',
- 'ヴォ' => 'vo',
- 'ヴ' => 'vu',
- 'ウェ' => 'we',
- 'ウィ' => 'wi',
- 'イェ' => 'ye',
- 'ティ' => 'ti',
- 'ヂィ' => 'di',
- // 2 character syllables - doubled vocal
- 'アー' => 'aa',
- 'エー' => 'ee',
- 'イー' => 'ii',
- 'オー' => 'oo',
- 'ウー' => 'uu',
- 'ダー' => 'daa',
- 'デー' => 'dee',
- 'ヂー' => 'dii',
- 'ドー' => 'doo',
- 'ヅー' => 'duu',
- 'ハー' => 'haa',
- 'ヘー' => 'hee',
- 'ヒー' => 'hii',
- 'ホー' => 'hoo',
- 'フー' => 'fuu',
- 'バー' => 'baa',
- 'ベー' => 'bee',
- 'ビー' => 'bii',
- 'ボー' => 'boo',
- 'ブー' => 'buu',
- 'パー' => 'paa',
- 'ペー' => 'pee',
- 'ピー' => 'pii',
- 'ポー' => 'poo',
- 'プー' => 'puu',
- 'ケー' => 'kee',
- 'キー' => 'kii',
- 'コー' => 'koo',
- 'クー' => 'kuu',
- 'カー' => 'kaa',
- 'ガー' => 'gaa',
- 'ゲー' => 'gee',
- 'ギー' => 'gii',
- 'ゴー' => 'goo',
- 'グー' => 'guu',
- 'マー' => 'maa',
- 'メー' => 'mee',
- 'ミー' => 'mii',
- 'モー' => 'moo',
- 'ムー' => 'muu',
- 'ナー' => 'naa',
- 'ネー' => 'nee',
- 'ニー' => 'nii',
- 'ノー' => 'noo',
- 'ヌー' => 'nuu',
- 'ラー' => 'raa',
- 'レー' => 'ree',
- 'リー' => 'rii',
- 'ロー' => 'roo',
- 'ルー' => 'ruu',
- 'サー' => 'saa',
- 'セー' => 'see',
- 'シー' => 'shii',
- 'ソー' => 'soo',
- 'スー' => 'suu',
- 'ザー' => 'zaa',
- 'ゼー' => 'zee',
- 'ジー' => 'jii',
- 'ゾー' => 'zoo',
- 'ズー' => 'zuu',
- 'ター' => 'taa',
- 'テー' => 'tee',
- 'チー' => 'chii',
- 'トー' => 'too',
- 'ツー' => 'tsuu',
- 'ワー' => 'waa',
- 'ヲー' => 'woo',
- 'ヤー' => 'yaa',
- 'ヨー' => 'yoo',
- 'ユー' => 'yuu',
- 'ヵー' => 'kaa',
- 'ヶー' => 'kee',
- // old characters
- 'ヱー' => 'wee',
- 'ヰー' => 'wii',
- // seperate katakana 'n'
- 'ンア' => 'n_a',
- 'ンエ' => 'n_e',
- 'ンイ' => 'n_i',
- 'ンオ' => 'n_o',
- 'ンウ' => 'n_u',
- 'ンヤ' => 'n_ya',
- 'ンヨ' => 'n_yo',
- 'ンユ' => 'n_yu',
- // 2 character syllables - doubled consonants
- 'ッバ' => 'bba',
- 'ッベ' => 'bbe',
- 'ッビ' => 'bbi',
- 'ッボ' => 'bbo',
- 'ッブ' => 'bbu',
- 'ッパ' => 'ppa',
- 'ッペ' => 'ppe',
- 'ッピ' => 'ppi',
- 'ッポ' => 'ppo',
- 'ップ' => 'ppu',
- 'ッケ' => 'kke',
- 'ッキ' => 'kki',
- 'ッコ' => 'kko',
- 'ック' => 'kku',
- 'ッカ' => 'kka',
- 'ッガ' => 'gga',
- 'ッゲ' => 'gge',
- 'ッギ' => 'ggi',
- 'ッゴ' => 'ggo',
- 'ッグ' => 'ggu',
- 'ッマ' => 'ma',
- 'ッメ' => 'me',
- 'ッミ' => 'mi',
- 'ッモ' => 'mo',
- 'ッム' => 'mu',
- 'ッナ' => 'nna',
- 'ッネ' => 'nne',
- 'ッニ' => 'nni',
- 'ッノ' => 'nno',
- 'ッヌ' => 'nnu',
- 'ッラ' => 'rra',
- 'ッレ' => 'rre',
- 'ッリ' => 'rri',
- 'ッロ' => 'rro',
- 'ッル' => 'rru',
- 'ッサ' => 'ssa',
- 'ッセ' => 'sse',
- 'ッシ' => 'sshi',
- 'ッソ' => 'sso',
- 'ッス' => 'ssu',
- 'ッザ' => 'zza',
- 'ッゼ' => 'zze',
- 'ッジ' => 'jji',
- 'ッゾ' => 'zzo',
- 'ッズ' => 'zzu',
- 'ッタ' => 'tta',
- 'ッテ' => 'tte',
- 'ッチ' => 'cchi',
- 'ット' => 'tto',
- 'ッツ' => 'ttsu',
- 'ッダ' => 'dda',
- 'ッデ' => 'dde',
- 'ッヂ' => 'ddi',
- 'ッド' => 'ddo',
- 'ッヅ' => 'ddu',
- // 1 character syllables
- 'ア' => 'a',
- 'エ' => 'e',
- 'イ' => 'i',
- 'オ' => 'o',
- 'ウ' => 'u',
- 'ン' => 'n',
- 'ハ' => 'ha',
- 'ヘ' => 'he',
- 'ヒ' => 'hi',
- 'ホ' => 'ho',
- 'フ' => 'fu',
- 'バ' => 'ba',
- 'ベ' => 'be',
- 'ビ' => 'bi',
- 'ボ' => 'bo',
- 'ブ' => 'bu',
- 'パ' => 'pa',
- 'ペ' => 'pe',
- 'ピ' => 'pi',
- 'ポ' => 'po',
- 'プ' => 'pu',
- 'ケ' => 'ke',
- 'キ' => 'ki',
- 'コ' => 'ko',
- 'ク' => 'ku',
- 'カ' => 'ka',
- 'ガ' => 'ga',
- 'ゲ' => 'ge',
- 'ギ' => 'gi',
- 'ゴ' => 'go',
- 'グ' => 'gu',
- 'マ' => 'ma',
- 'メ' => 'me',
- 'ミ' => 'mi',
- 'モ' => 'mo',
- 'ム' => 'mu',
- 'ナ' => 'na',
- 'ネ' => 'ne',
- 'ニ' => 'ni',
- 'ノ' => 'no',
- 'ヌ' => 'nu',
- 'ラ' => 'ra',
- 'レ' => 're',
- 'リ' => 'ri',
- 'ロ' => 'ro',
- 'ル' => 'ru',
- 'サ' => 'sa',
- 'セ' => 'se',
- 'シ' => 'shi',
- 'ソ' => 'so',
- 'ス' => 'su',
- 'ザ' => 'za',
- 'ゼ' => 'ze',
- 'ジ' => 'ji',
- 'ゾ' => 'zo',
- 'ズ' => 'zu',
- 'タ' => 'ta',
- 'テ' => 'te',
- 'チ' => 'chi',
- 'ト' => 'to',
- 'ツ' => 'tsu',
- 'ダ' => 'da',
- 'デ' => 'de',
- 'ヂ' => 'di',
- 'ド' => 'do',
- 'ヅ' => 'du',
- 'ワ' => 'wa',
- 'ヲ' => 'wo',
- 'ヤ' => 'ya',
- 'ヨ' => 'yo',
- 'ユ' => 'yu',
- 'ヵ' => 'ka',
- 'ヶ' => 'ke',
- // old characters
- 'ヱ' => 'we',
- 'ヰ' => 'wi',
- // convert what's left (probably only kicks in when something's missing above)
- 'ァ' => 'a',
- 'ェ' => 'e',
- 'ィ' => 'i',
- 'ォ' => 'o',
- 'ゥ' => 'u',
- 'ャ' => 'ya',
- 'ョ' => 'yo',
- 'ュ' => 'yu',
- // special characters
- '・' => '_',
- '、' => '_',
- 'ー' => '_',
- // when used with hiragana (seldom), this character would not be converted otherwise
- // 'ラ'=>'la',
- // 'レ'=>'le',
- // 'リ'=>'li',
- // 'ロ'=>'lo',
- // 'ル'=>'lu',
- // 'チャ'=>'cya',
- // 'チェ'=>'cye',
- // 'チィ'=>'cyi',
- // 'チョ'=>'cyo',
- // 'チュ'=>'cyu',
- // 'デャ'=>'dha',
- // 'デェ'=>'dhe',
- // 'ディ'=>'dhi',
- // 'デョ'=>'dho',
- // 'デュ'=>'dhu',
- // 'リャ'=>'lya',
- // 'リェ'=>'lye',
- // 'リィ'=>'lyi',
- // 'リョ'=>'lyo',
- // 'リュ'=>'lyu',
- // 'テャ'=>'tha',
- // 'テェ'=>'the',
- // 'ティ'=>'thi',
- // 'テョ'=>'tho',
- // 'テュ'=>'thu',
- // 'ファ'=>'fwa',
- // 'フェ'=>'fwe',
- // 'フィ'=>'fwi',
- // 'フォ'=>'fwo',
- // 'フゥ'=>'fwu',
- // 'チャ'=>'tya',
- // 'チェ'=>'tye',
- // 'チィ'=>'tyi',
- // 'チョ'=>'tyo',
- // 'チュ'=>'tyu',
- // 'ジャ'=>'jya',
- // 'ジェ'=>'jye',
- // 'ジィ'=>'jyi',
- // 'ジョ'=>'jyo',
- // 'ジュ'=>'jyu',
- // 'ジャ'=>'zha',
- // 'ジェ'=>'zhe',
- // 'ジィ'=>'zhi',
- // 'ジョ'=>'zho',
- // 'ジュ'=>'zhu',
- // 'ジャ'=>'zya',
- // 'ジェ'=>'zye',
- // 'ジィ'=>'zyi',
- // 'ジョ'=>'zyo',
- // 'ジュ'=>'zyu',
- // 'シャ'=>'sya',
- // 'シェ'=>'sye',
- // 'シィ'=>'syi',
- // 'ショ'=>'syo',
- // 'シュ'=>'syu',
- // 'シ'=>'ci',
- // 'フ'=>'hu',
- // 'シ'=>'si',
- // 'チ'=>'ti',
- // 'ツ'=>'tu',
- // 'イ'=>'yi',
- // 'ヂ'=>'dzi',
- // "Greeklish"
- 'Α' => 'a',
- 'Ά' => 'a',
- 'Β' => 'b',
- 'Γ' => 'g',
- 'Δ' => 'd',
- 'Ε' => 'e',
- 'Έ' => 'e',
- 'Ζ' => 'z',
- 'Η' => 'i',
- 'Ή' => 'i',
- 'Θ' => 'th',
- 'Ι' => 'i',
- 'Ί' => 'i',
- 'Ϊ' => 'i',
- 'ΐ' => 'i',
- 'Κ' => 'k',
- 'Λ' => 'l',
- 'Μ' => 'm',
- 'Ν' => 'n',
- 'Ξ' => 'x',
- 'Ο' => 'o',
- 'Ό' => 'o',
- 'Π' => 'p',
- 'Ρ' => 'r',
- 'Σ' => 's',
- 'Τ' => 't',
- 'Υ' => 'y',
- 'Ύ' => 'y',
- 'Ϋ' => 'y',
- 'ΰ' => 'y',
- 'Φ' => 'f',
- 'Χ' => 'ch',
- 'Ψ' => 'ps',
- 'Ω' => 'o',
- 'Ώ' => 'o',
- 'α' => 'a',
- 'ά' => 'a',
- 'β' => 'b',
- 'γ' => 'g',
- 'δ' => 'd',
- 'ε' => 'e',
- 'έ' => 'e',
- 'ζ' => 'z',
- 'η' => 'i',
- 'ή' => 'i',
- 'θ' => 'th',
- 'ι' => 'i',
- 'ί' => 'i',
- 'ϊ' => 'i',
- 'κ' => 'k',
- 'λ' => 'l',
- 'μ' => 'm',
- 'ν' => 'n',
- 'ξ' => 'x',
- 'ο' => 'o',
- 'ό' => 'o',
- 'π' => 'p',
- 'ρ' => 'r',
- 'σ' => 's',
- 'ς' => 's',
- 'τ' => 't',
- 'υ' => 'y',
- 'ύ' => 'y',
- 'ϋ' => 'y',
- 'φ' => 'f',
- 'χ' => 'ch',
- 'ψ' => 'ps',
- 'ω' => 'o',
- 'ώ' => 'o',
- // Thai
- 'ก' => 'k',
- 'ข' => 'kh',
- 'ฃ' => 'kh',
- 'ค' => 'kh',
- 'ฅ' => 'kh',
- 'ฆ' => 'kh',
- 'ง' => 'ng',
- 'จ' => 'ch',
- 'ฉ' => 'ch',
- 'ช' => 'ch',
- 'ซ' => 's',
- 'ฌ' => 'ch',
- 'ญ' => 'y',
- 'ฎ' => 'd',
- 'ฏ' => 't',
- 'ฐ' => 'th',
- 'ฑ' => 'd',
- 'ฒ' => 'th',
- 'ณ' => 'n',
- 'ด' => 'd',
- 'ต' => 't',
- 'ถ' => 'th',
- 'ท' => 'th',
- 'ธ' => 'th',
- 'น' => 'n',
- 'บ' => 'b',
- 'ป' => 'p',
- 'ผ' => 'ph',
- 'ฝ' => 'f',
- 'พ' => 'ph',
- 'ฟ' => 'f',
- 'ภ' => 'ph',
- 'ม' => 'm',
- 'ย' => 'y',
- 'ร' => 'r',
- 'ฤ' => 'rue',
- 'ฤๅ' => 'rue',
- 'ล' => 'l',
- 'ฦ' => 'lue',
- 'ฦๅ' => 'lue',
- 'ว' => 'w',
- 'ศ' => 's',
- 'ษ' => 's',
- 'ส' => 's',
- 'ห' => 'h',
- 'ฬ' => 'l',
- 'ฮ' => 'h',
- 'ะ' => 'a',
- 'ั' => 'a',
- 'รร' => 'a',
- 'า' => 'a',
- 'ๅ' => 'a',
- 'ำ' => 'am',
- 'ํา' => 'am',
- 'ิ' => 'i',
- 'ี' => 'i',
- 'ึ' => 'ue',
- 'ี' => 'ue',
- 'ุ' => 'u',
- 'ู' => 'u',
- 'เ' => 'e',
- 'แ' => 'ae',
- 'โ' => 'o',
- 'อ' => 'o',
- 'ียะ' => 'ia',
- 'ีย' => 'ia',
- 'ือะ' => 'uea',
- 'ือ' => 'uea',
- 'ัวะ' => 'ua',
- 'ัว' => 'ua',
- 'ใ' => 'ai',
- 'ไ' => 'ai',
- 'ัย' => 'ai',
- 'าย' => 'ai',
- 'าว' => 'ao',
- 'ุย' => 'ui',
- 'อย' => 'oi',
- 'ือย' => 'ueai',
- 'วย' => 'uai',
- 'ิว' => 'io',
- '็ว' => 'eo',
- 'ียว' => 'iao',
- '่' => '',
- '้' => '',
- '๊' => '',
- '๋' => '',
- '็' => '',
- '์' => '',
- '๎' => '',
- 'ํ' => '',
- 'ฺ' => '',
- 'ๆ' => '2',
- '๏' => 'o',
- 'ฯ' => '-',
- '๚' => '-',
- '๛' => '-',
- '๐' => '0',
- '๑' => '1',
- '๒' => '2',
- '๓' => '3',
- '๔' => '4',
- '๕' => '5',
- '๖' => '6',
- '๗' => '7',
- '๘' => '8',
- '๙' => '9',
- // Korean
- 'ㄱ' => 'k', 'ㅋ' => 'kh',
- 'ㄲ' => 'kk',
- 'ㄷ' => 't',
- 'ㅌ' => 'th',
- 'ㄸ' => 'tt',
- 'ㅂ' => 'p',
- 'ㅍ' => 'ph',
- 'ㅃ' => 'pp',
- 'ㅈ' => 'c',
- 'ㅊ' => 'ch',
- 'ㅉ' => 'cc',
- 'ㅅ' => 's',
- 'ㅆ' => 'ss',
- 'ㅎ' => 'h',
- 'ㅇ' => 'ng',
- 'ㄴ' => 'n',
- 'ㄹ' => 'l',
- 'ㅁ' => 'm',
- 'ㅏ' => 'a',
- 'ㅓ' => 'e',
- 'ㅗ' => 'o',
- 'ㅜ' => 'wu',
- 'ㅡ' => 'u',
- 'ㅣ' => 'i',
- 'ㅐ' => 'ay',
- 'ㅔ' => 'ey',
- 'ㅚ' => 'oy',
- 'ㅘ' => 'wa',
- 'ㅝ' => 'we',
- 'ㅟ' => 'wi',
- 'ㅙ' => 'way',
- 'ㅞ' => 'wey',
- 'ㅢ' => 'uy',
- 'ㅑ' => 'ya',
- 'ㅕ' => 'ye',
- 'ㅛ' => 'oy',
- 'ㅠ' => 'yu',
- 'ㅒ' => 'yay',
- 'ㅖ' => 'yey',
- ];
|