1<?php
2
3/**
4 * Romanization lookup table
5 *
6 * This lookup tables provides a way to transform strings written in a language
7 * different from the ones based upon latin letters into plain ASCII.
8 *
9 * Please note: this is not a scientific transliteration table. It only works
10 * oneway from nonlatin to ASCII and it works by simple character replacement
11 * only. Specialities of each language are not supported.
12 *
13 * @todo some keys are used multiple times
14 * @todo remove or integrate commented pairs
15 *
16 * @author Andreas Gohr <andi@splitbrain.org>
17 * @author Vitaly Blokhin <vitinfo@vitn.com>
18 * @author Bisqwit <bisqwit@iki.fi>
19 * @author Arthit Suriyawongkul <arthit@gmail.com>
20 * @author Denis Scheither <amorphis@uni-bremen.de>
21 * @author Eivind Morland <eivind.morland@gmail.com>
22 * @link   http://www.uconv.com/translit.htm
23 * @link   http://kanjidict.stc.cx/hiragana.php?src=2
24 * @link   http://www.translatum.gr/converter/greek-transliteration.htm
25 * @link   http://en.wikipedia.org/wiki/Royal_Thai_General_System_of_Transcription
26 * @link   http://www.btranslations.com/resources/romanization/korean.asp
27 */
28
29return [
30    // scandinavian - differs from what we do in deaccent
31    'å' => 'a',
32    'Å' => 'A',
33    'ä' => 'a',
34    'Ä' => 'A',
35    'ö' => 'o',
36    'Ö' => 'O',
37
38    //russian cyrillic
39    'а' => 'a',
40    'А' => 'A',
41    'б' => 'b',
42    'Б' => 'B',
43    'в' => 'v',
44    'В' => 'V',
45    'г' => 'g',
46    'Г' => 'G',
47    'д' => 'd',
48    'Д' => 'D',
49    'е' => 'e',
50    'Е' => 'E',
51    'ё' => 'jo',
52    'Ё' => 'Jo',
53    'ж' => 'zh',
54    'Ж' => 'Zh',
55    'з' => 'z',
56    'З' => 'Z',
57    'и' => 'i',
58    'И' => 'I',
59    'й' => 'j',
60    'Й' => 'J',
61    'к' => 'k',
62    'К' => 'K',
63    'л' => 'l',
64    'Л' => 'L',
65    'м' => 'm',
66    'М' => 'M',
67    'н' => 'n',
68    'Н' => 'N',
69    'о' => 'o',
70    'О' => 'O',
71    'п' => 'p',
72    'П' => 'P',
73    'р' => 'r',
74    'Р' => 'R',
75    'с' => 's',
76    'С' => 'S',
77    'т' => 't',
78    'Т' => 'T',
79    'у' => 'u',
80    'У' => 'U',
81    'ф' => 'f',
82    'Ф' => 'F',
83    'х' => 'x',
84    'Х' => 'X',
85    'ц' => 'c',
86    'Ц' => 'C',
87    'ч' => 'ch',
88    'Ч' => 'Ch',
89    'ш' => 'sh',
90    'Ш' => 'Sh',
91    'щ' => 'sch',
92    'Щ' => 'Sch',
93    'ъ' => '',
94    'Ъ' => '',
95    'ы' => 'y',
96    'Ы' => 'Y',
97    'ь' => '',
98    'Ь' => '',
99    'э' => 'eh',
100    'Э' => 'Eh',
101    'ю' => 'ju',
102    'Ю' => 'Ju',
103    'я' => 'ja',
104    'Я' => 'Ja',
105
106    // Ukrainian cyrillic
107    'Ґ' => 'Gh',
108    'ґ' => 'gh',
109    'Є' => 'Je',
110    'є' => 'je',
111    'І' => 'I',
112    'і' => 'i',
113    'Ї' => 'Ji',
114    'ї' => 'ji',
115
116    // Georgian
117    'ა' => 'a',
118    'ბ' => 'b',
119    'გ' => 'g',
120    'დ' => 'd',
121    'ე' => 'e',
122    'ვ' => 'v',
123    'ზ' => 'z',
124    'თ' => 'th',
125    'ი' => 'i',
126    'კ' => 'p',
127    'ლ' => 'l',
128    'მ' => 'm',
129    'ნ' => 'n',
130    'ო' => 'o',
131    'პ' => 'p',
132    'ჟ' => 'zh',
133    'რ' => 'r',
134    'ს' => 's',
135    'ტ' => 't',
136    'უ' => 'u',
137    'ფ' => 'ph',
138    'ქ' => 'kh',
139    'ღ' => 'gh',
140    'ყ' => 'q',
141    'შ' => 'sh',
142    'ჩ' => 'ch',
143    'ც' => 'c',
144    'ძ' => 'dh',
145    'წ' => 'w',
146    'ჭ' => 'j',
147    'ხ' => 'x',
148    'ჯ' => 'jh',
149    'ჰ' => 'xh',
150
151    //Sanskrit
152    'अ' => 'a',
153    'आ' => 'ah',
154    'इ' => 'i',
155    'ई' => 'ih',
156    'उ' => 'u',
157    'ऊ' => 'uh',
158    'ऋ' => 'ry',
159    'ॠ' => 'ryh',
160    'ऌ' => 'ly',
161    'ॡ' => 'lyh',
162    'ए' => 'e',
163    'ऐ' => 'ay',
164    'ओ' => 'o',
165    'औ' => 'aw',
166    'अं' => 'amh',
167    'अः' => 'aq',
168    'क' => 'k',
169    'ख' => 'kh',
170    'ग' => 'g',
171    'घ' => 'gh',
172    'ङ' => 'nh',
173    'च' => 'c',
174    'छ' => 'ch',
175    'ज' => 'j',
176    'झ' => 'jh',
177    'ञ' => 'ny',
178    'ट' => 'tq',
179    'ठ' => 'tqh',
180    'ड' => 'dq',
181    'ढ' => 'dqh',
182    'ण' => 'nq',
183    'त' => 't',
184    'थ' => 'th',
185    'द' => 'd',
186    'ध' => 'dh',
187    'न' => 'n',
188    'प' => 'p',
189    'फ' => 'ph',
190    'ब' => 'b',
191    'भ' => 'bh',
192    'म' => 'm',
193    'य' => 'z',
194    'र' => 'r',
195    'ल' => 'l',
196    'व' => 'v',
197    'श' => 'sh',
198    'ष' => 'sqh',
199    'स' => 's',
200    'ह' => 'x',
201
202    //Sanskrit diacritics
203    'Ā' => 'A',
204    'Ī' => 'I',
205    'Ū' => 'U',
206    'Ṛ' => 'R',
207    'Ṝ' => 'R',
208    'Ṅ' => 'N',
209    'Ñ' => 'N',
210    'Ṭ' => 'T',
211    'Ḍ' => 'D',
212    'Ṇ' => 'N',
213    'Ś' => 'S',
214    'Ṣ' => 'S',
215    'Ṁ' => 'M',
216    'Ṃ' => 'M',
217    'Ḥ' => 'H',
218    'Ḷ' => 'L',
219    'Ḹ' => 'L',
220    'ā' => 'a',
221    'ī' => 'i',
222    'ū' => 'u',
223    'ṛ' => 'r',
224    'ṝ' => 'r',
225    'ṅ' => 'n',
226    'ñ' => 'n',
227    'ṭ' => 't',
228    'ḍ' => 'd',
229    'ṇ' => 'n',
230    'ś' => 's',
231    'ṣ' => 's',
232    'ṁ' => 'm',
233    'ṃ' => 'm',
234    'ḥ' => 'h',
235    'ḷ' => 'l',
236    'ḹ' => 'l',
237
238    //Hebrew
239    'א' => 'a',
240    'ב' => 'b',
241    'ג' => 'g',
242    'ד' => 'd',
243    'ה' => 'h',
244    'ו' => 'v',
245    'ז' => 'z',
246    'ח' => 'kh',
247    'ט' => 'th',
248    'י' => 'y',
249    'ך' => 'h',
250    'כ' => 'k',
251    'ל' => 'l',
252    'ם' => 'm',
253    'מ' => 'm',
254    'ן' => 'n',
255    'נ' => 'n',
256    'ס' => 's',
257    'ע' => 'ah',
258    'ף' => 'f',
259    'פ' => 'p',
260    'ץ' => 'c',
261    'צ' => 'c',
262    'ק' => 'q',
263    'ר' => 'r',
264    'ש' => 'sh',
265    'ת' => 't',
266
267    //Arabic
268    'ا' => 'a',
269    'ب' => 'b',
270    'ت' => 't',
271    'ث' => 'th',
272    'ج' => 'g',
273    'ح' => 'xh',
274    'خ' => 'x',
275    'د' => 'd',
276    'ذ' => 'dh',
277    'ر' => 'r',
278    'ز' => 'z',
279    'س' => 's',
280    'ش' => 'sh',
281    'ص' => 's\'',
282    'ض' => 'd\'',
283    'ط' => 't\'',
284    'ظ' => 'z\'',
285    'ع' => 'y',
286    'غ' => 'gh',
287    'ف' => 'f',
288    'ق' => 'q',
289    'ك' => 'k',
290    'ل' => 'l',
291    'م' => 'm',
292    'ن' => 'n',
293    'ه' => 'x\'',
294    'و' => 'u',
295    'ي' => 'i',
296
297    // Japanese characters  (last update: 2008-05-09)
298
299    // Japanese hiragana
300
301    // 3 character syllables, っ doubles the consonant after
302    'っびゃ' => 'bbya',
303    'っびぇ' => 'bbye',
304    'っびぃ' => 'bbyi',
305    'っびょ' => 'bbyo',
306    'っびゅ' => 'bbyu',
307    'っぴゃ' => 'ppya',
308    'っぴぇ' => 'ppye',
309    'っぴぃ' => 'ppyi',
310    'っぴょ' => 'ppyo',
311    'っぴゅ' => 'ppyu',
312    'っちゃ' => 'ccha',
313    'っちぇ' => 'cche',
314    'っちょ' => 'ccho',
315    'っちゅ' => 'cchu',
316    // 'っひゃ'=>'hya',
317    // 'っひぇ'=>'hye',
318    // 'っひぃ'=>'hyi',
319    // 'っひょ'=>'hyo',
320    // 'っひゅ'=>'hyu',
321    'っきゃ' => 'kkya',
322    'っきぇ' => 'kkye',
323    'っきぃ' => 'kkyi',
324    'っきょ' => 'kkyo',
325    'っきゅ' => 'kkyu',
326    'っぎゃ' => 'ggya',
327    'っぎぇ' => 'ggye',
328    'っぎぃ' => 'ggyi',
329    'っぎょ' => 'ggyo',
330    'っぎゅ' => 'ggyu',
331    'っみゃ' => 'mmya',
332    'っみぇ' => 'mmye',
333    'っみぃ' => 'mmyi',
334    'っみょ' => 'mmyo',
335    'っみゅ' => 'mmyu',
336    'っにゃ' => 'nnya',
337    'っにぇ' => 'nnye',
338    'っにぃ' => 'nnyi',
339    'っにょ' => 'nnyo',
340    'っにゅ' => 'nnyu',
341    'っりゃ' => 'rrya',
342    'っりぇ' => 'rrye',
343    'っりぃ' => 'rryi',
344    'っりょ' => 'rryo',
345    'っりゅ' => 'rryu',
346    'っしゃ' => 'ssha',
347    'っしぇ' => 'sshe',
348    'っしょ' => 'ssho',
349    'っしゅ' => 'sshu',
350
351    // seperate hiragana 'n' ('n' + 'i' != 'ni', normally we would write "kon'nichi wa" but the
352    // apostrophe would be converted to _ anyway)
353    'んあ' => 'n_a',
354    'んえ' => 'n_e',
355    'んい' => 'n_i',
356    'んお' => 'n_o',
357    'んう' => 'n_u',
358    'んや' => 'n_ya',
359    'んよ' => 'n_yo',
360    'んゆ' => 'n_yu',
361
362    // 2 character syllables - normal
363    'ふぁ' => 'fa',
364    'ふぇ' => 'fe',
365    'ふぃ' => 'fi',
366    'ふぉ' => 'fo',
367    'ちゃ' => 'cha',
368    'ちぇ' => 'che',
369    'ちょ' => 'cho',
370    'ちゅ' => 'chu',
371    'ひゃ' => 'hya',
372    'ひぇ' => 'hye',
373    'ひぃ' => 'hyi',
374    'ひょ' => 'hyo',
375    'ひゅ' => 'hyu',
376    'びゃ' => 'bya',
377    'びぇ' => 'bye',
378    'びぃ' => 'byi',
379    'びょ' => 'byo',
380    'びゅ' => 'byu',
381    'ぴゃ' => 'pya',
382    'ぴぇ' => 'pye',
383    'ぴぃ' => 'pyi',
384    'ぴょ' => 'pyo',
385    'ぴゅ' => 'pyu',
386    'きゃ' => 'kya',
387    'きぇ' => 'kye',
388    'きぃ' => 'kyi',
389    'きょ' => 'kyo',
390    'きゅ' => 'kyu',
391    'ぎゃ' => 'gya',
392    'ぎぇ' => 'gye',
393    'ぎぃ' => 'gyi',
394    'ぎょ' => 'gyo',
395    'ぎゅ' => 'gyu',
396    'みゃ' => 'mya',
397    'みぇ' => 'mye',
398    'みぃ' => 'myi',
399    'みょ' => 'myo',
400    'みゅ' => 'myu',
401    'にゃ' => 'nya',
402    'にぇ' => 'nye',
403    'にぃ' => 'nyi',
404    'にょ' => 'nyo',
405    'にゅ' => 'nyu',
406    'りゃ' => 'rya',
407    'りぇ' => 'rye',
408    'りぃ' => 'ryi',
409    'りょ' => 'ryo',
410    'りゅ' => 'ryu',
411    'しゃ' => 'sha',
412    'しぇ' => 'she',
413    'しょ' => 'sho',
414    'しゅ' => 'shu',
415    'じゃ' => 'ja',
416    'じぇ' => 'je',
417    'じょ' => 'jo',
418    'じゅ' => 'ju',
419    'うぇ' => 'we',
420    'うぃ' => 'wi',
421    'いぇ' => 'ye',
422
423    // 2 character syllables, っ doubles the consonant after
424    'っば' => 'bba',
425    'っべ' => 'bbe',
426    'っび' => 'bbi',
427    'っぼ' => 'bbo',
428    'っぶ' => 'bbu',
429    'っぱ' => 'ppa',
430    'っぺ' => 'ppe',
431    'っぴ' => 'ppi',
432    'っぽ' => 'ppo',
433    'っぷ' => 'ppu',
434    'った' => 'tta',
435    'って' => 'tte',
436    'っち' => 'cchi',
437    'っと' => 'tto',
438    'っつ' => 'ttsu',
439    'っだ' => 'dda',
440    'っで' => 'dde',
441    'っぢ' => 'ddi',
442    'っど' => 'ddo',
443    'っづ' => 'ddu',
444    'っが' => 'gga',
445    'っげ' => 'gge',
446    'っぎ' => 'ggi',
447    'っご' => 'ggo',
448    'っぐ' => 'ggu',
449    'っか' => 'kka',
450    'っけ' => 'kke',
451    'っき' => 'kki',
452    'っこ' => 'kko',
453    'っく' => 'kku',
454    'っま' => 'mma',
455    'っめ' => 'mme',
456    'っみ' => 'mmi',
457    'っも' => 'mmo',
458    'っむ' => 'mmu',
459    'っな' => 'nna',
460    'っね' => 'nne',
461    'っに' => 'nni',
462    'っの' => 'nno',
463    'っぬ' => 'nnu',
464    'っら' => 'rra',
465    'っれ' => 'rre',
466    'っり' => 'rri',
467    'っろ' => 'rro',
468    'っる' => 'rru',
469    'っさ' => 'ssa',
470    'っせ' => 'sse',
471    'っし' => 'sshi',
472    'っそ' => 'sso',
473    'っす' => 'ssu',
474    'っざ' => 'zza',
475    'っぜ' => 'zze',
476    'っじ' => 'jji',
477    'っぞ' => 'zzo',
478    'っず' => 'zzu',
479
480    // 1 character syllabels
481    'あ' => 'a',
482    'え' => 'e',
483    'い' => 'i',
484    'お' => 'o',
485    'う' => 'u',
486    'ん' => 'n',
487    'は' => 'ha',
488    'へ' => 'he',
489    'ひ' => 'hi',
490    'ほ' => 'ho',
491    'ふ' => 'fu',
492    'ば' => 'ba',
493    'べ' => 'be',
494    'び' => 'bi',
495    'ぼ' => 'bo',
496    'ぶ' => 'bu',
497    'ぱ' => 'pa',
498    'ぺ' => 'pe',
499    'ぴ' => 'pi',
500    'ぽ' => 'po',
501    'ぷ' => 'pu',
502    'た' => 'ta',
503    'て' => 'te',
504    'ち' => 'chi',
505    'と' => 'to',
506    'つ' => 'tsu',
507    'だ' => 'da',
508    'で' => 'de',
509    'ぢ' => 'di',
510    'ど' => 'do',
511    'づ' => 'du',
512    'が' => 'ga',
513    'げ' => 'ge',
514    'ぎ' => 'gi',
515    'ご' => 'go',
516    'ぐ' => 'gu',
517    'か' => 'ka',
518    'け' => 'ke',
519    'き' => 'ki',
520    'こ' => 'ko',
521    'く' => 'ku',
522    'ま' => 'ma',
523    'め' => 'me',
524    'み' => 'mi',
525    'も' => 'mo',
526    'む' => 'mu',
527    'な' => 'na',
528    'ね' => 'ne',
529    'に' => 'ni',
530    'の' => 'no',
531    'ぬ' => 'nu',
532    'ら' => 'ra',
533    'れ' => 're',
534    'り' => 'ri',
535    'ろ' => 'ro',
536    'る' => 'ru',
537    'さ' => 'sa',
538    'せ' => 'se',
539    'し' => 'shi',
540    'そ' => 'so',
541    'す' => 'su',
542    'わ' => 'wa',
543    'を' => 'wo',
544    'ざ' => 'za',
545    'ぜ' => 'ze',
546    'じ' => 'ji',
547    'ぞ' => 'zo',
548    'ず' => 'zu',
549    'や' => 'ya',
550    'よ' => 'yo',
551    'ゆ' => 'yu',
552    // old characters
553    'ゑ' => 'we',
554    'ゐ' => 'wi',
555
556    //  convert what's left (probably only kicks in when something's missing above)
557    // 'ぁ'=>'a','ぇ'=>'e','ぃ'=>'i','ぉ'=>'o','ぅ'=>'u',
558    // 'ゃ'=>'ya','ょ'=>'yo','ゅ'=>'yu',
559
560    // never seen one of those (disabled for the moment)
561    // 'ヴぁ'=>'va','ヴぇ'=>'ve','ヴぃ'=>'vi','ヴぉ'=>'vo','ヴ'=>'vu',
562    // 'でゃ'=>'dha','でぇ'=>'dhe','でぃ'=>'dhi','でょ'=>'dho','でゅ'=>'dhu',
563    // 'どぁ'=>'dwa','どぇ'=>'dwe','どぃ'=>'dwi','どぉ'=>'dwo','どぅ'=>'dwu',
564    // 'ぢゃ'=>'dya','ぢぇ'=>'dye','ぢぃ'=>'dyi','ぢょ'=>'dyo','ぢゅ'=>'dyu',
565    // 'ふぁ'=>'fwa','ふぇ'=>'fwe','ふぃ'=>'fwi','ふぉ'=>'fwo','ふぅ'=>'fwu',
566    // 'ふゃ'=>'fya','ふぇ'=>'fye','ふぃ'=>'fyi','ふょ'=>'fyo','ふゅ'=>'fyu',
567    // 'すぁ'=>'swa','すぇ'=>'swe','すぃ'=>'swi','すぉ'=>'swo','すぅ'=>'swu',
568    // 'てゃ'=>'tha','てぇ'=>'the','てぃ'=>'thi','てょ'=>'tho','てゅ'=>'thu',
569    // 'つゃ'=>'tsa','つぇ'=>'tse','つぃ'=>'tsi','つょ'=>'tso','つ'=>'tsu',
570    // 'とぁ'=>'twa','とぇ'=>'twe','とぃ'=>'twi','とぉ'=>'two','とぅ'=>'twu',
571    // 'ヴゃ'=>'vya','ヴぇ'=>'vye','ヴぃ'=>'vyi','ヴょ'=>'vyo','ヴゅ'=>'vyu',
572    // 'うぁ'=>'wha','うぇ'=>'whe','うぃ'=>'whi','うぉ'=>'who','うぅ'=>'whu',
573    // 'じゃ'=>'zha','じぇ'=>'zhe','じぃ'=>'zhi','じょ'=>'zho','じゅ'=>'zhu',
574    // 'じゃ'=>'zya','じぇ'=>'zye','じぃ'=>'zyi','じょ'=>'zyo','じゅ'=>'zyu',
575
576    // 'spare' characters from other romanization systems
577    // 'だ'=>'da','で'=>'de','ぢ'=>'di','ど'=>'do','づ'=>'du',
578    // 'ら'=>'la','れ'=>'le','り'=>'li','ろ'=>'lo','る'=>'lu',
579    // 'さ'=>'sa','せ'=>'se','し'=>'si','そ'=>'so','す'=>'su',
580    // 'ちゃ'=>'cya','ちぇ'=>'cye','ちぃ'=>'cyi','ちょ'=>'cyo','ちゅ'=>'cyu',
581    //'じゃ'=>'jya','じぇ'=>'jye','じぃ'=>'jyi','じょ'=>'jyo','じゅ'=>'jyu',
582    //'りゃ'=>'lya','りぇ'=>'lye','りぃ'=>'lyi','りょ'=>'lyo','りゅ'=>'lyu',
583    //'しゃ'=>'sya','しぇ'=>'sye','しぃ'=>'syi','しょ'=>'syo','しゅ'=>'syu',
584    //'ちゃ'=>'tya','ちぇ'=>'tye','ちぃ'=>'tyi','ちょ'=>'tyo','ちゅ'=>'tyu',
585    //'し'=>'ci',,い'=>'yi','ぢ'=>'dzi',
586    //'っじゃ'=>'jja','っじぇ'=>'jje','っじ'=>'jji','っじょ'=>'jjo','っじゅ'=>'jju',
587
588
589    // Japanese katakana
590
591    // 4 character syllables: ッ doubles the consonant after, ー doubles the vowel before
592    // (usualy written with macron, but we don't want that in our URLs)
593    'ッビャー' => 'bbyaa',
594    'ッビェー' => 'bbyee',
595    'ッビィー' => 'bbyii',
596    'ッビョー' => 'bbyoo',
597    'ッビュー' => 'bbyuu',
598    'ッピャー' => 'ppyaa',
599    'ッピェー' => 'ppyee',
600    'ッピィー' => 'ppyii',
601    'ッピョー' => 'ppyoo',
602    'ッピュー' => 'ppyuu',
603    'ッキャー' => 'kkyaa',
604    'ッキェー' => 'kkyee',
605    'ッキィー' => 'kkyii',
606    'ッキョー' => 'kkyoo',
607    'ッキュー' => 'kkyuu',
608    'ッギャー' => 'ggyaa',
609    'ッギェー' => 'ggyee',
610    'ッギィー' => 'ggyii',
611    'ッギョー' => 'ggyoo',
612    'ッギュー' => 'ggyuu',
613    'ッミャー' => 'mmyaa',
614    'ッミェー' => 'mmyee',
615    'ッミィー' => 'mmyii',
616    'ッミョー' => 'mmyoo',
617    'ッミュー' => 'mmyuu',
618    'ッニャー' => 'nnyaa',
619    'ッニェー' => 'nnyee',
620    'ッニィー' => 'nnyii',
621    'ッニョー' => 'nnyoo',
622    'ッニュー' => 'nnyuu',
623    'ッリャー' => 'rryaa',
624    'ッリェー' => 'rryee',
625    'ッリィー' => 'rryii',
626    'ッリョー' => 'rryoo',
627    'ッリュー' => 'rryuu',
628    'ッシャー' => 'sshaa',
629    'ッシェー' => 'sshee',
630    'ッショー' => 'sshoo',
631    'ッシュー' => 'sshuu',
632    'ッチャー' => 'cchaa',
633    'ッチェー' => 'cchee',
634    'ッチョー' => 'cchoo',
635    'ッチュー' => 'cchuu',
636    'ッティー' => 'ttii',
637    'ッヂィー' => 'ddii',
638
639    // 3 character syllables - doubled vowels
640    'ファー' => 'faa',
641    'フォー' => 'foo',
642    'フャー' => 'fyaa',
643    'フェー' => 'fee',
644    'フィー' => 'fyii',
645    'フョー' => 'fyoo',
646    'フュー' => 'fyuu',
647    'ヒャー' => 'hyaa',
648    'ヒェー' => 'hyee',
649    'ヒィー' => 'hyii',
650    'ヒョー' => 'hyoo',
651    'ヒュー' => 'hyuu',
652    'ビャー' => 'byaa',
653    'ビェー' => 'byee',
654    'ビィー' => 'byii',
655    'ビョー' => 'byoo',
656    'ビュー' => 'byuu',
657    'ピャー' => 'pyaa',
658    'ピェー' => 'pyee',
659    'ピィー' => 'pyii',
660    'ピョー' => 'pyoo',
661    'ピュー' => 'pyuu',
662    'キャー' => 'kyaa',
663    'キェー' => 'kyee',
664    'キィー' => 'kyii',
665    'キョー' => 'kyoo',
666    'キュー' => 'kyuu',
667    'ギャー' => 'gyaa',
668    'ギェー' => 'gyee',
669    'ギィー' => 'gyii',
670    'ギョー' => 'gyoo',
671    'ギュー' => 'gyuu',
672    'ミャー' => 'myaa',
673    'ミェー' => 'myee',
674    'ミィー' => 'myii',
675    'ミョー' => 'myoo',
676    'ミュー' => 'myuu',
677    'ニャー' => 'nyaa',
678    'ニェー' => 'nyee',
679    'ニィー' => 'nyii',
680    'ニョー' => 'nyoo',
681    'ニュー' => 'nyuu',
682    'リャー' => 'ryaa',
683    'リェー' => 'ryee',
684    'リィー' => 'ryii',
685    'リョー' => 'ryoo',
686    'リュー' => 'ryuu',
687    'シャー' => 'shaa',
688    'シェー' => 'shee',
689    'ショー' => 'shoo',
690    'シュー' => 'shuu',
691    'ジャー' => 'jaa',
692    'ジェー' => 'jee',
693    'ジョー' => 'joo',
694    'ジュー' => 'juu',
695    'スァー' => 'swaa',
696    'スェー' => 'swee',
697    'スィー' => 'swii',
698    'スォー' => 'swoo',
699    'スゥー' => 'swuu',
700    'デァー' => 'daa',
701    'デェー' => 'dee',
702    'ディー' => 'dii',
703    'デォー' => 'doo',
704    'デゥー' => 'duu',
705    'チャー' => 'chaa',
706    'チェー' => 'chee',
707    'チョー' => 'choo',
708    'チュー' => 'chuu',
709    'ヂャー' => 'dyaa',
710    'ヂェー' => 'dyee',
711    'ヂョー' => 'dyoo',
712    'ヂュー' => 'dyuu',
713    'ツャー' => 'tsaa',
714    'ツェー' => 'tsee',
715    'ツィー' => 'tsii',
716    'ツョー' => 'tsoo',
717    'トァー' => 'twaa',
718    'トェー' => 'twee',
719    'トィー' => 'twii',
720    'トォー' => 'twoo',
721    'トゥー' => 'twuu',
722    'ドァー' => 'dwaa',
723    'ドェー' => 'dwee',
724    'ドィー' => 'dwii',
725    'ドォー' => 'dwoo',
726    'ドゥー' => 'dwuu',
727    'ウァー' => 'whaa',
728    'ウォー' => 'whoo',
729    'ウゥー' => 'whuu',
730    'ヴャー' => 'vyaa',
731    'ヴョー' => 'vyoo',
732    'ヴュー' => 'vyuu',
733    'ヴァー' => 'vaa',
734    'ヴェー' => 'vee',
735    'ヴィー' => 'vii',
736    'ヴォー' => 'voo',
737    'ヴー' => 'vuu',
738    'ウェー' => 'wee',
739    'ウィー' => 'wii',
740    'イェー' => 'yee',
741    'ティー' => 'tii',
742    'ヂィー' => 'dii',
743
744    // 3 character syllables - doubled consonants
745    'ッビャ' => 'bbya',
746    'ッビェ' => 'bbye',
747    'ッビィ' => 'bbyi',
748    'ッビョ' => 'bbyo',
749    'ッビュ' => 'bbyu',
750    'ッピャ' => 'ppya',
751    'ッピェ' => 'ppye',
752    'ッピィ' => 'ppyi',
753    'ッピョ' => 'ppyo',
754    'ッピュ' => 'ppyu',
755    'ッキャ' => 'kkya',
756    'ッキェ' => 'kkye',
757    'ッキィ' => 'kkyi',
758    'ッキョ' => 'kkyo',
759    'ッキュ' => 'kkyu',
760    'ッギャ' => 'ggya',
761    'ッギェ' => 'ggye',
762    'ッギィ' => 'ggyi',
763    'ッギョ' => 'ggyo',
764    'ッギュ' => 'ggyu',
765    'ッミャ' => 'mmya',
766    'ッミェ' => 'mmye',
767    'ッミィ' => 'mmyi',
768    'ッミョ' => 'mmyo',
769    'ッミュ' => 'mmyu',
770    'ッニャ' => 'nnya',
771    'ッニェ' => 'nnye',
772    'ッニィ' => 'nnyi',
773    'ッニョ' => 'nnyo',
774    'ッニュ' => 'nnyu',
775    'ッリャ' => 'rrya',
776    'ッリェ' => 'rrye',
777    'ッリィ' => 'rryi',
778    'ッリョ' => 'rryo',
779    'ッリュ' => 'rryu',
780    'ッシャ' => 'ssha',
781    'ッシェ' => 'sshe',
782    'ッショ' => 'ssho',
783    'ッシュ' => 'sshu',
784    'ッチャ' => 'ccha',
785    'ッチェ' => 'cche',
786    'ッチョ' => 'ccho',
787    'ッチュ' => 'cchu',
788    'ッティ' => 'tti',
789    'ッヂィ' => 'ddi',
790
791    // 3 character syllables - doubled vowel and consonants
792    'ッバー' => 'bbaa',
793    'ッベー' => 'bbee',
794    'ッビー' => 'bbii',
795    'ッボー' => 'bboo',
796    'ッブー' => 'bbuu',
797    'ッパー' => 'ppaa',
798    'ッペー' => 'ppee',
799    'ッピー' => 'ppii',
800    'ッポー' => 'ppoo',
801    'ップー' => 'ppuu',
802    'ッケー' => 'kkee',
803    'ッキー' => 'kkii',
804    'ッコー' => 'kkoo',
805    'ックー' => 'kkuu',
806    'ッカー' => 'kkaa',
807    'ッガー' => 'ggaa',
808    'ッゲー' => 'ggee',
809    'ッギー' => 'ggii',
810    'ッゴー' => 'ggoo',
811    'ッグー' => 'gguu',
812    'ッマー' => 'maa',
813    'ッメー' => 'mee',
814    'ッミー' => 'mii',
815    'ッモー' => 'moo',
816    'ッムー' => 'muu',
817    'ッナー' => 'nnaa',
818    'ッネー' => 'nnee',
819    'ッニー' => 'nnii',
820    'ッノー' => 'nnoo',
821    'ッヌー' => 'nnuu',
822    'ッラー' => 'rraa',
823    'ッレー' => 'rree',
824    'ッリー' => 'rrii',
825    'ッロー' => 'rroo',
826    'ッルー' => 'rruu',
827    'ッサー' => 'ssaa',
828    'ッセー' => 'ssee',
829    'ッシー' => 'sshii',
830    'ッソー' => 'ssoo',
831    'ッスー' => 'ssuu',
832    'ッザー' => 'zzaa',
833    'ッゼー' => 'zzee',
834    'ッジー' => 'jjii',
835    'ッゾー' => 'zzoo',
836    'ッズー' => 'zzuu',
837    'ッター' => 'ttaa',
838    'ッテー' => 'ttee',
839    'ッチー' => 'chii',
840    'ットー' => 'ttoo',
841    'ッツー' => 'ttsuu',
842    'ッダー' => 'ddaa',
843    'ッデー' => 'ddee',
844    'ッヂー' => 'ddii',
845    'ッドー' => 'ddoo',
846    'ッヅー' => 'dduu',
847
848    // 2 character syllables - normal
849    'ファ' => 'fa',
850    'フォ' => 'fo',
851    'フゥ' => 'fu',
852    // 'フャ'=>'fya',
853    // 'フェ'=>'fye',
854    // 'フィ'=>'fyi',
855    // 'フョ'=>'fyo',
856    // 'フュ'=>'fyu',
857    'フャ' => 'fa',
858    'フェ' => 'fe',
859    'フィ' => 'fi',
860    'フョ' => 'fo',
861    'フュ' => 'fu',
862    'ヒャ' => 'hya',
863    'ヒェ' => 'hye',
864    'ヒィ' => 'hyi',
865    'ヒョ' => 'hyo',
866    'ヒュ' => 'hyu',
867    'ビャ' => 'bya',
868    'ビェ' => 'bye',
869    'ビィ' => 'byi',
870    'ビョ' => 'byo',
871    'ビュ' => 'byu',
872    'ピャ' => 'pya',
873    'ピェ' => 'pye',
874    'ピィ' => 'pyi',
875    'ピョ' => 'pyo',
876    'ピュ' => 'pyu',
877    'キャ' => 'kya',
878    'キェ' => 'kye',
879    'キィ' => 'kyi',
880    'キョ' => 'kyo',
881    'キュ' => 'kyu',
882    'ギャ' => 'gya',
883    'ギェ' => 'gye',
884    'ギィ' => 'gyi',
885    'ギョ' => 'gyo',
886    'ギュ' => 'gyu',
887    'ミャ' => 'mya',
888    'ミェ' => 'mye',
889    'ミィ' => 'myi',
890    'ミョ' => 'myo',
891    'ミュ' => 'myu',
892    'ニャ' => 'nya',
893    'ニェ' => 'nye',
894    'ニィ' => 'nyi',
895    'ニョ' => 'nyo',
896    'ニュ' => 'nyu',
897    'リャ' => 'rya',
898    'リェ' => 'rye',
899    'リィ' => 'ryi',
900    'リョ' => 'ryo',
901    'リュ' => 'ryu',
902    'シャ' => 'sha',
903    'シェ' => 'she',
904    'ショ' => 'sho',
905    'シュ' => 'shu',
906    'ジャ' => 'ja',
907    'ジェ' => 'je',
908    'ジョ' => 'jo',
909    'ジュ' => 'ju',
910    'スァ' => 'swa',
911    'スェ' => 'swe',
912    'スィ' => 'swi',
913    'スォ' => 'swo',
914    'スゥ' => 'swu',
915    'デァ' => 'da',
916    'デェ' => 'de',
917    'ディ' => 'di',
918    'デォ' => 'do',
919    'デゥ' => 'du',
920    'チャ' => 'cha',
921    'チェ' => 'che',
922    'チョ' => 'cho',
923    'チュ' => 'chu',
924    // 'ヂャ'=>'dya',
925    // 'ヂェ'=>'dye',
926    // 'ヂィ'=>'dyi',
927    // 'ヂョ'=>'dyo',
928    // 'ヂュ'=>'dyu',
929    'ツャ' => 'tsa',
930    'ツェ' => 'tse',
931    'ツィ' => 'tsi',
932    'ツョ' => 'tso',
933    'トァ' => 'twa',
934    'トェ' => 'twe',
935    'トィ' => 'twi',
936    'トォ' => 'two',
937    'トゥ' => 'twu',
938    'ドァ' => 'dwa',
939    'ドェ' => 'dwe',
940    'ドィ' => 'dwi',
941    'ドォ' => 'dwo',
942    'ドゥ' => 'dwu',
943    'ウァ' => 'wha',
944    'ウォ' => 'who',
945    'ウゥ' => 'whu',
946    'ヴャ' => 'vya',
947    'ヴョ' => 'vyo',
948    'ヴュ' => 'vyu',
949    'ヴァ' => 'va',
950    'ヴェ' => 've',
951    'ヴィ' => 'vi',
952    'ヴォ' => 'vo',
953    'ヴ' => 'vu',
954    'ウェ' => 'we',
955    'ウィ' => 'wi',
956    'イェ' => 'ye',
957    'ティ' => 'ti',
958    'ヂィ' => 'di',
959
960    // 2 character syllables - doubled vocal
961    'アー' => 'aa',
962    'エー' => 'ee',
963    'イー' => 'ii',
964    'オー' => 'oo',
965    'ウー' => 'uu',
966    'ダー' => 'daa',
967    'デー' => 'dee',
968    'ヂー' => 'dii',
969    'ドー' => 'doo',
970    'ヅー' => 'duu',
971    'ハー' => 'haa',
972    'ヘー' => 'hee',
973    'ヒー' => 'hii',
974    'ホー' => 'hoo',
975    'フー' => 'fuu',
976    'バー' => 'baa',
977    'ベー' => 'bee',
978    'ビー' => 'bii',
979    'ボー' => 'boo',
980    'ブー' => 'buu',
981    'パー' => 'paa',
982    'ペー' => 'pee',
983    'ピー' => 'pii',
984    'ポー' => 'poo',
985    'プー' => 'puu',
986    'ケー' => 'kee',
987    'キー' => 'kii',
988    'コー' => 'koo',
989    'クー' => 'kuu',
990    'カー' => 'kaa',
991    'ガー' => 'gaa',
992    'ゲー' => 'gee',
993    'ギー' => 'gii',
994    'ゴー' => 'goo',
995    'グー' => 'guu',
996    'マー' => 'maa',
997    'メー' => 'mee',
998    'ミー' => 'mii',
999    'モー' => 'moo',
1000    'ムー' => 'muu',
1001    'ナー' => 'naa',
1002    'ネー' => 'nee',
1003    'ニー' => 'nii',
1004    'ノー' => 'noo',
1005    'ヌー' => 'nuu',
1006    'ラー' => 'raa',
1007    'レー' => 'ree',
1008    'リー' => 'rii',
1009    'ロー' => 'roo',
1010    'ルー' => 'ruu',
1011    'サー' => 'saa',
1012    'セー' => 'see',
1013    'シー' => 'shii',
1014    'ソー' => 'soo',
1015    'スー' => 'suu',
1016    'ザー' => 'zaa',
1017    'ゼー' => 'zee',
1018    'ジー' => 'jii',
1019    'ゾー' => 'zoo',
1020    'ズー' => 'zuu',
1021    'ター' => 'taa',
1022    'テー' => 'tee',
1023    'チー' => 'chii',
1024    'トー' => 'too',
1025    'ツー' => 'tsuu',
1026    'ワー' => 'waa',
1027    'ヲー' => 'woo',
1028    'ヤー' => 'yaa',
1029    'ヨー' => 'yoo',
1030    'ユー' => 'yuu',
1031    'ヵー' => 'kaa',
1032    'ヶー' => 'kee',
1033    // old characters
1034    'ヱー' => 'wee',
1035    'ヰー' => 'wii',
1036
1037    // seperate katakana 'n'
1038    'ンア' => 'n_a',
1039    'ンエ' => 'n_e',
1040    'ンイ' => 'n_i',
1041    'ンオ' => 'n_o',
1042    'ンウ' => 'n_u',
1043    'ンヤ' => 'n_ya',
1044    'ンヨ' => 'n_yo',
1045    'ンユ' => 'n_yu',
1046
1047    // 2 character syllables - doubled consonants
1048    'ッバ' => 'bba',
1049    'ッベ' => 'bbe',
1050    'ッビ' => 'bbi',
1051    'ッボ' => 'bbo',
1052    'ッブ' => 'bbu',
1053    'ッパ' => 'ppa',
1054    'ッペ' => 'ppe',
1055    'ッピ' => 'ppi',
1056    'ッポ' => 'ppo',
1057    'ップ' => 'ppu',
1058    'ッケ' => 'kke',
1059    'ッキ' => 'kki',
1060    'ッコ' => 'kko',
1061    'ック' => 'kku',
1062    'ッカ' => 'kka',
1063    'ッガ' => 'gga',
1064    'ッゲ' => 'gge',
1065    'ッギ' => 'ggi',
1066    'ッゴ' => 'ggo',
1067    'ッグ' => 'ggu',
1068    'ッマ' => 'ma',
1069    'ッメ' => 'me',
1070    'ッミ' => 'mi',
1071    'ッモ' => 'mo',
1072    'ッム' => 'mu',
1073    'ッナ' => 'nna',
1074    'ッネ' => 'nne',
1075    'ッニ' => 'nni',
1076    'ッノ' => 'nno',
1077    'ッヌ' => 'nnu',
1078    'ッラ' => 'rra',
1079    'ッレ' => 'rre',
1080    'ッリ' => 'rri',
1081    'ッロ' => 'rro',
1082    'ッル' => 'rru',
1083    'ッサ' => 'ssa',
1084    'ッセ' => 'sse',
1085    'ッシ' => 'sshi',
1086    'ッソ' => 'sso',
1087    'ッス' => 'ssu',
1088    'ッザ' => 'zza',
1089    'ッゼ' => 'zze',
1090    'ッジ' => 'jji',
1091    'ッゾ' => 'zzo',
1092    'ッズ' => 'zzu',
1093    'ッタ' => 'tta',
1094    'ッテ' => 'tte',
1095    'ッチ' => 'cchi',
1096    'ット' => 'tto',
1097    'ッツ' => 'ttsu',
1098    'ッダ' => 'dda',
1099    'ッデ' => 'dde',
1100    'ッヂ' => 'ddi',
1101    'ッド' => 'ddo',
1102    'ッヅ' => 'ddu',
1103
1104    // 1 character syllables
1105    'ア' => 'a',
1106    'エ' => 'e',
1107    'イ' => 'i',
1108    'オ' => 'o',
1109    'ウ' => 'u',
1110    'ン' => 'n',
1111    'ハ' => 'ha',
1112    'ヘ' => 'he',
1113    'ヒ' => 'hi',
1114    'ホ' => 'ho',
1115    'フ' => 'fu',
1116    'バ' => 'ba',
1117    'ベ' => 'be',
1118    'ビ' => 'bi',
1119    'ボ' => 'bo',
1120    'ブ' => 'bu',
1121    'パ' => 'pa',
1122    'ペ' => 'pe',
1123    'ピ' => 'pi',
1124    'ポ' => 'po',
1125    'プ' => 'pu',
1126    'ケ' => 'ke',
1127    'キ' => 'ki',
1128    'コ' => 'ko',
1129    'ク' => 'ku',
1130    'カ' => 'ka',
1131    'ガ' => 'ga',
1132    'ゲ' => 'ge',
1133    'ギ' => 'gi',
1134    'ゴ' => 'go',
1135    'グ' => 'gu',
1136    'マ' => 'ma',
1137    'メ' => 'me',
1138    'ミ' => 'mi',
1139    'モ' => 'mo',
1140    'ム' => 'mu',
1141    'ナ' => 'na',
1142    'ネ' => 'ne',
1143    'ニ' => 'ni',
1144    'ノ' => 'no',
1145    'ヌ' => 'nu',
1146    'ラ' => 'ra',
1147    'レ' => 're',
1148    'リ' => 'ri',
1149    'ロ' => 'ro',
1150    'ル' => 'ru',
1151    'サ' => 'sa',
1152    'セ' => 'se',
1153    'シ' => 'shi',
1154    'ソ' => 'so',
1155    'ス' => 'su',
1156    'ザ' => 'za',
1157    'ゼ' => 'ze',
1158    'ジ' => 'ji',
1159    'ゾ' => 'zo',
1160    'ズ' => 'zu',
1161    'タ' => 'ta',
1162    'テ' => 'te',
1163    'チ' => 'chi',
1164    'ト' => 'to',
1165    'ツ' => 'tsu',
1166    'ダ' => 'da',
1167    'デ' => 'de',
1168    'ヂ' => 'di',
1169    'ド' => 'do',
1170    'ヅ' => 'du',
1171    'ワ' => 'wa',
1172    'ヲ' => 'wo',
1173    'ヤ' => 'ya',
1174    'ヨ' => 'yo',
1175    'ユ' => 'yu',
1176    'ヵ' => 'ka',
1177    'ヶ' => 'ke',
1178    // old characters
1179    'ヱ' => 'we',
1180    'ヰ' => 'wi',
1181
1182    //  convert what's left (probably only kicks in when something's missing above)
1183    'ァ' => 'a',
1184    'ェ' => 'e',
1185    'ィ' => 'i',
1186    'ォ' => 'o',
1187    'ゥ' => 'u',
1188    'ャ' => 'ya',
1189    'ョ' => 'yo',
1190    'ュ' => 'yu',
1191
1192    // special characters
1193    '・' => '_',
1194    '、' => '_',
1195    'ー' => '_',
1196    // when used with hiragana (seldom), this character would not be converted otherwise
1197
1198    // 'ラ'=>'la',
1199    // 'レ'=>'le',
1200    // 'リ'=>'li',
1201    // 'ロ'=>'lo',
1202    // 'ル'=>'lu',
1203    // 'チャ'=>'cya',
1204    // 'チェ'=>'cye',
1205    // 'チィ'=>'cyi',
1206    // 'チョ'=>'cyo',
1207    // 'チュ'=>'cyu',
1208    // 'デャ'=>'dha',
1209    // 'デェ'=>'dhe',
1210    // 'ディ'=>'dhi',
1211    // 'デョ'=>'dho',
1212    // 'デュ'=>'dhu',
1213    // 'リャ'=>'lya',
1214    // 'リェ'=>'lye',
1215    // 'リィ'=>'lyi',
1216    // 'リョ'=>'lyo',
1217    // 'リュ'=>'lyu',
1218    // 'テャ'=>'tha',
1219    // 'テェ'=>'the',
1220    // 'ティ'=>'thi',
1221    // 'テョ'=>'tho',
1222    // 'テュ'=>'thu',
1223    // 'ファ'=>'fwa',
1224    // 'フェ'=>'fwe',
1225    // 'フィ'=>'fwi',
1226    // 'フォ'=>'fwo',
1227    // 'フゥ'=>'fwu',
1228    // 'チャ'=>'tya',
1229    // 'チェ'=>'tye',
1230    // 'チィ'=>'tyi',
1231    // 'チョ'=>'tyo',
1232    // 'チュ'=>'tyu',
1233    // 'ジャ'=>'jya',
1234    // 'ジェ'=>'jye',
1235    // 'ジィ'=>'jyi',
1236    // 'ジョ'=>'jyo',
1237    // 'ジュ'=>'jyu',
1238    // 'ジャ'=>'zha',
1239    // 'ジェ'=>'zhe',
1240    // 'ジィ'=>'zhi',
1241    // 'ジョ'=>'zho',
1242    // 'ジュ'=>'zhu',
1243    // 'ジャ'=>'zya',
1244    // 'ジェ'=>'zye',
1245    // 'ジィ'=>'zyi',
1246    // 'ジョ'=>'zyo',
1247    // 'ジュ'=>'zyu',
1248    // 'シャ'=>'sya',
1249    // 'シェ'=>'sye',
1250    // 'シィ'=>'syi',
1251    // 'ショ'=>'syo',
1252    // 'シュ'=>'syu',
1253    // 'シ'=>'ci',
1254    // 'フ'=>'hu',
1255    // 'シ'=>'si',
1256    // 'チ'=>'ti',
1257    // 'ツ'=>'tu',
1258    // 'イ'=>'yi',
1259    // 'ヂ'=>'dzi',
1260
1261    // "Greeklish"
1262    'Α' => 'a',
1263    'Ά' => 'a',
1264    'Β' => 'b',
1265    'Γ' => 'g',
1266    'Δ' => 'd',
1267    'Ε' => 'e',
1268    'Έ' => 'e',
1269    'Ζ' => 'z',
1270    'Η' => 'i',
1271    'Ή' => 'i',
1272    'Θ' => 'th',
1273    'Ι' => 'i',
1274    'Ί' => 'i',
1275    'Ϊ' => 'i',
1276    'ΐ' => 'i',
1277    'Κ' => 'k',
1278    'Λ' => 'l',
1279    'Μ' => 'm',
1280    'Ν' => 'n',
1281    'Ξ' => 'x',
1282    'Ο' => 'o',
1283    'Ό' => 'o',
1284    'Π' => 'p',
1285    'Ρ' => 'r',
1286    'Σ' => 's',
1287    'Τ' => 't',
1288    'Υ' => 'y',
1289    'Ύ' => 'y',
1290    'Ϋ' => 'y',
1291    'ΰ' => 'y',
1292    'Φ' => 'f',
1293    'Χ' => 'ch',
1294    'Ψ' => 'ps',
1295    'Ω' => 'o',
1296    'Ώ' => 'o',
1297    'α' => 'a',
1298    'ά' => 'a',
1299    'β' => 'b',
1300    'γ' => 'g',
1301    'δ' => 'd',
1302    'ε' => 'e',
1303    'έ' => 'e',
1304    'ζ' => 'z',
1305    'η' => 'i',
1306    'ή' => 'i',
1307    'θ' => 'th',
1308    'ι' => 'i',
1309    'ί' => 'i',
1310    'ϊ' => 'i',
1311    'κ' => 'k',
1312    'λ' => 'l',
1313    'μ' => 'm',
1314    'ν' => 'n',
1315    'ξ' => 'x',
1316    'ο' => 'o',
1317    'ό' => 'o',
1318    'π' => 'p',
1319    'ρ' => 'r',
1320    'σ' => 's',
1321    'ς' => 's',
1322    'τ' => 't',
1323    'υ' => 'y',
1324    'ύ' => 'y',
1325    'ϋ' => 'y',
1326    'φ' => 'f',
1327    'χ' => 'ch',
1328    'ψ' => 'ps',
1329    'ω' => 'o',
1330    'ώ' => 'o',
1331
1332    // Thai
1333    'ก' => 'k',
1334    'ข' => 'kh',
1335    'ฃ' => 'kh',
1336    'ค' => 'kh',
1337    'ฅ' => 'kh',
1338    'ฆ' => 'kh',
1339    'ง' => 'ng',
1340    'จ' => 'ch',
1341    'ฉ' => 'ch',
1342    'ช' => 'ch',
1343    'ซ' => 's',
1344    'ฌ' => 'ch',
1345    'ญ' => 'y',
1346    'ฎ' => 'd',
1347    'ฏ' => 't',
1348    'ฐ' => 'th',
1349    'ฑ' => 'd',
1350    'ฒ' => 'th',
1351    'ณ' => 'n',
1352    'ด' => 'd',
1353    'ต' => 't',
1354    'ถ' => 'th',
1355    'ท' => 'th',
1356    'ธ' => 'th',
1357    'น' => 'n',
1358    'บ' => 'b',
1359    'ป' => 'p',
1360    'ผ' => 'ph',
1361    'ฝ' => 'f',
1362    'พ' => 'ph',
1363    'ฟ' => 'f',
1364    'ภ' => 'ph',
1365    'ม' => 'm',
1366    'ย' => 'y',
1367    'ร' => 'r',
1368    'ฤ' => 'rue',
1369    'ฤๅ' => 'rue',
1370    'ล' => 'l',
1371    'ฦ' => 'lue',
1372    'ฦๅ' => 'lue',
1373    'ว' => 'w',
1374    'ศ' => 's',
1375    'ษ' => 's',
1376    'ส' => 's',
1377    'ห' => 'h',
1378    'ฬ' => 'l',
1379    'ฮ' => 'h',
1380    'ะ' => 'a',
1381    'ั' => 'a',
1382    'รร' => 'a',
1383    'า' => 'a',
1384    'ๅ' => 'a',
1385    'ำ' => 'am',
1386    'ํา' => 'am',
1387    'ิ' => 'i',
1388    'ึ' => 'ue',
1389    'ี' => 'ue',
1390    'ุ' => 'u',
1391    'ู' => 'u',
1392    'เ' => 'e',
1393    'แ' => 'ae',
1394    'โ' => 'o',
1395    'อ' => 'o',
1396    'ียะ' => 'ia',
1397    'ีย' => 'ia',
1398    'ือะ' => 'uea',
1399    'ือ' => 'uea',
1400    'ัวะ' => 'ua',
1401    'ัว' => 'ua',
1402    'ใ' => 'ai',
1403    'ไ' => 'ai',
1404    'ัย' => 'ai',
1405    'าย' => 'ai',
1406    'าว' => 'ao',
1407    'ุย' => 'ui',
1408    'อย' => 'oi',
1409    'ือย' => 'ueai',
1410    'วย' => 'uai',
1411    'ิว' => 'io',
1412    '็ว' => 'eo',
1413    'ียว' => 'iao',
1414    '่' => '',
1415    '้' => '',
1416    '๊' => '',
1417    '๋' => '',
1418    '็' => '',
1419    '์' => '',
1420    '๎' => '',
1421    'ํ' => '',
1422    'ฺ' => '',
1423    'ๆ' => '2',
1424    '๏' => 'o',
1425    'ฯ' => '-',
1426    '๚' => '-',
1427    '๛' => '-',
1428    '๐' => '0',
1429    '๑' => '1',
1430    '๒' => '2',
1431    '๓' => '3',
1432    '๔' => '4',
1433    '๕' => '5',
1434    '๖' => '6',
1435    '๗' => '7',
1436    '๘' => '8',
1437    '๙' => '9',
1438
1439    // Korean
1440    'ㄱ' => 'k', 'ㅋ' => 'kh',
1441    'ㄲ' => 'kk',
1442    'ㄷ' => 't',
1443    'ㅌ' => 'th',
1444    'ㄸ' => 'tt',
1445    'ㅂ' => 'p',
1446    'ㅍ' => 'ph',
1447    'ㅃ' => 'pp',
1448    'ㅈ' => 'c',
1449    'ㅊ' => 'ch',
1450    'ㅉ' => 'cc',
1451    'ㅅ' => 's',
1452    'ㅆ' => 'ss',
1453    'ㅎ' => 'h',
1454    'ㅇ' => 'ng',
1455    'ㄴ' => 'n',
1456    'ㄹ' => 'l',
1457    'ㅁ' => 'm',
1458    'ㅏ' => 'a',
1459    'ㅓ' => 'e',
1460    'ㅗ' => 'o',
1461    'ㅜ' => 'wu',
1462    'ㅡ' => 'u',
1463    'ㅣ' => 'i',
1464    'ㅐ' => 'ay',
1465    'ㅔ' => 'ey',
1466    'ㅚ' => 'oy',
1467    'ㅘ' => 'wa',
1468    'ㅝ' => 'we',
1469    'ㅟ' => 'wi',
1470    'ㅙ' => 'way',
1471    'ㅞ' => 'wey',
1472    'ㅢ' => 'uy',
1473    'ㅑ' => 'ya',
1474    'ㅕ' => 'ye',
1475    'ㅛ' => 'oy',
1476    'ㅠ' => 'yu',
1477    'ㅒ' => 'yay',
1478    'ㅖ' => 'yey',
1479];
1480