Module:Hrkt-translit/testcases

From Wiktionary, the free dictionary
Jump to navigation Jump to search

45 of 536 tests failed. (refresh)

TextExpectedActual
test_transliterate_historical:
Passeddudu
Passedzuzu
Passeddidi
Passedzizi
Passedtutu
Passedtiti
Passedおおoooo
Passedおうouou
Passedはんfanfan
Passedしようsyousyou
Passedきやうkyaukyau
Passedし.ようsiyousiyou
Passedいゆiyuiyu
Passedきよkyokyo
Passedきようkyoukyou
Passedちやtyatya
Passedくわkwakwa
Passedくゑkwekwe
Passedく.わkuwakuwa
Failedすゑsuweswe
Passedにうわniuwaniuwa
Passedつ.ゑtuwetuwe
Failedくゐよくkwyokukwiyoku
Passedかんわkan'wakan'wa
Passedくわんゐんkwan'winkwan'win
TextExpectedActual
test_transliterate_kana:
Passedaa
Passedあぁāā
Passedああāā
Passedあーāā
Passedii
Passedいぃyiyi
Passedいいīī
Passedいーīī
Passedいぇyeye
Passeduu
Passedvuvu
Passedうぁwawa
Passedゔぁvava
Passedうぃwiwi
Passedゔぃvivi
Passedうぃぇwyewye
Passedゔぃぇvyevye
Passedうぅwuwu
Passedううūū
Passedうーūū
Passedうぇwewe
Passedゔぇveve
Passedうぉwowo
Passedゔぉvovo
Passedうゃwyawya
Passedゔゃvyavya
Passedうゅwyuwyu
Passedゔゅvyuvyu
Passedうょwyowyo
Passedゔょvyovyo
Passedee
Passedえぃeiei
Passedえいeiei
Passedえぇēē
Passedええēē
Passedえーēē
Passedoo
Failedおぅouō
Passedおうōō
Passedおぉōō
Passedおおōō
Passedおーōō
Passedkaka
Passedgaga
Passedかぁ
Passedかあ
Passedかー
Passedがぁ
Passedがあ
Passedがー
Passedkiki
Passedgigi
Failedきぃkyi
Passedきい
Passedきー
Failedぎぃgyi
Passedぎい
Passedぎー
Passedきゃkyakya
Passedぎゃgyagya
Passedきゃぁkyākyā
Passedきゃーkyākyā
Passedきゃあkyākyā
Passedぎゃぁgyāgyā
Passedぎゃーgyāgyā
Passedぎゃあgyāgyā
Passedきゅkyukyu
Passedぎゅgyugyu
Failedきゅぅkyūkywu
Passedきゅーkyūkyū
Passedきゅうkyūkyū
Failedぎゅぅgyūgywu
Passedぎゅーgyūgyū
Passedぎゅうgyūgyū
Passedきょkyokyo
Passedぎょgyogyo
Passedきょぅkyōkyō
Passedきょうkyōkyō
Passedぎょぅgyōgyō
Passedぎょうgyōgyō
Passedきょぉkyōkyō
Passedきょーkyōkyō
Passedきょおkyōkyō
Passedぎょぉgyōgyō
Passedぎょーgyōgyō
Passedぎょおgyōgyō
Passedkuku
Passedgugu
Passedくぁkwakwa
Passedぐぁgwagwa
Passedくぃkwikwi
Passedぐぃgwigwi
Failedくぅkwu
Passedくう
Passedくー
Failedぐぅgwu
Passedぐう
Passedぐー
Passedくぇkwekwe
Passedぐぇgwegwe
Passedくぉkwokwo
Passedぐぉgwogwo
Passedくゎkwakwa
Passedぐゎgwagwa
Passedkeke
Passedgege
Failedけぃkeiki
Passedけいkeikei
Failedげぃgeigi
Passedげいgeigei
Passedけぇ
Passedけえ
Passedけー
Passedげぇ
Passedげえ
Passedげー
Passedkoko
Passedgogo
Failedこぅku
Passedこう
Failedごぅgu
Passedごう
Passedこぉ
Passedこお
Passedこー
Passedごぉ
Passedごお
Passedごー
Passedsasa
Passedzaza
Passedさぁ
Passedさあ
Passedさー
Passedざぁ
Passedざあ
Passedざー
Passedshishi
Passedjiji
Failedしぃshyishī
Passedしいshīshī
Passedしーshīshī
Failedじぃjyi
Passedじい
Passedじー
Passedしゃshasha
Passedじゃjaja
Passedしゃぁshāshā
Passedしゃーshāshā
Passedしゃあshāshā
Passedじゃぁ
Passedじゃー
Passedじゃあ
Passedしゅshushu
Passedじゅjuju
Passedしゅぅshwushwu
Passedしゅーshūshū
Passedしゅうshūshū
Passedじゅぅjwujwu
Passedじゅー
Passedじゅう
Passedしょshosho
Passedじょjojo
Passedしょぅshōshō
Passedしょうshōshō
Passedじょぅ
Passedじょう
Passedしょぉshōshō
Passedしょーshōshō
Passedしょおshōshō
Passedじょぉ
Passedじょー
Passedじょお
Passedsusu
Passedzuzu
Failedすぁswasa
Failedずぁzwaza
Passedすぃsisi
Passedずぃzizi
Passedすぃぇsyesye
Passedずぃぇzyezye
Failedすぅswu
Passedすう
Passedすー
Failedずぅzwu
Passedずう
Passedずー
Failedすぇswese
Failedずぇzweze
Failedすぉswoso
Failedずぉzwozo
Passedすゃsyasya
Passedずゃzyazya
Passedすゅsyusyu
Passedずゅzyuzyu
Passedすょsyosyo
Passedずょzyozyo
Passedすゎswaswa
Passedずゎzwazwa
Passedsese
Passedzeze
Failedせぃseisi
Passedせいseisei
Failedぜぃzeizi
Passedぜいzeizei
Passedせぇ
Passedせえ
Passedせー
Passedぜぇ
Passedぜえ
Passedぜー
Passedsoso
Passedzozo
Failedそぅsu
Passedそう
Failedぞぅzu
Passedぞう
Passedそぉ
Passedそお
Passedそー
Passedぞぉ
Passedぞお
Passedぞー
Passedtata
Passeddada
Passedたぁ
Passedたあ
Passedたー
Passedだぁ
Passedだあ
Passedだー
Passedchichi
Passedjiji
Failedちぃchyichī
Passedちいchīchī
Passedちーchīchī
Failedぢぃjyi
Passedぢい
Passedぢー
Passedちゃchacha
Passedぢゃjaja
Passedちゃぁchāchā
Passedちゃーchāchā
Passedちゃあchāchā
Passedぢゃぁ
Passedぢゃー
Passedぢゃあ
Passedちゅchuchu
Passedぢゅjuju
Passedちゅぅchwuchwu
Passedちゅーchūchū
Passedちゅうchūchū
Passedぢゅぅjwujwu
Passedぢゅー
Passedぢゅう
Passedちょchocho
Passedぢょjojo
Passedちょぅchōchō
Passedちょうchōchō
Passedぢょぅ
Passedぢょう
Passedちょぉchōchō
Passedちょーchōchō
Passedちょおchōchō
Passedぢょぉ
Passedぢょー
Passedぢょお
Passedtete
Passeddede
Passedてぃtiti
Passedていteitei
Passedでぃdidi
Passedでいdeidei
Passedてぃぇtyetye
Passedでぃぇdyedye
Passedてぇ
Passedてえ
Passedてー
Passedでぇ
Passedでえ
Passedでー
Passedてゃtyatya
Passedでゃdyadya
Passedてゅtyutyu
Passedでゅdyudyu
Passedてょtyotyo
Passedでょdyodyo
Passedtoto
Passeddodo
Passedとぁtwatwa
Passedどぁdwadwa
Passedとぃtwitwi
Passedどぃdwidwi
Passedとぅtutu
Passedとう
Passedどぅdudu
Passedどう
Passedとぅぉtwotwo
Passedどぅぉdwodwo
Passedとぇtwetwe
Passedどぇdwedwe
Passedとぉ
Passedとお
Passedとー
Passedどぉ
Passedどお
Passedどー
Passedとゎtwatwa
Passedどゎdwadwa
Passedと゚tutu
Failedト゚ゥtwu
Failedト゚ーtuo
TextExpectedActual
test_transliterate_no_diacritics:
Passedかいしょないしぎょうしょで ひょうげんされる しゃくじとしての かんじを、きょくどに そうたいかした ものであるkaishonaishigyoushode hyougensareru shakujitoshiteno kanjio, kyokudoni soutaikashita monodearukaishonaishigyoushode hyougensareru shakujitoshiteno kanjio, kyokudoni soutaikashita monodearu
TextExpectedActual
test_transliterate_normal:
Passedアイェキキェ ヴィェウィフエayekikye vyewifueayekikye vyewifue
Passedかいしょないしぎょうしょで ひょうげんされる しゃくじとしての かんじを、きょくどに そうたいかした ものであるkaishonaishigyōshode hyōgensareru shakujitoshiteno kanjio, kyokudoni sōtaikashita monodearukaishonaishigyōshode hyōgensareru shakujitoshiteno kanjio, kyokudoni sōtaikashita monodearu
Passedしんかんせんshinkansenshinkansen
Passedぴなーるんphinārunphinārun
Passedこううんkōunkōun
Passedきんえんkin'enkin'en
Passedきんねんkinnenkinnen
Passedきねんkinenkinen
Passedきんゆうkin'yūkin'yū
Passedきにゅうkinyūkinyū
Passedおんわonwaonwa
Passed^コンウィKonwiKonwi
Passed^コーンウォールKōnwōruKōnwōru
Passed^ルブヌィRubu'nwiRubu'nwi
Passed^ヴィーンヌィツャVīnnwitsyaVīnnwitsya
Passed^ロヴァニエミRovaniemiRovaniemi
Passedオヴムovumuovumu
Passedクヴァルクkuvarukukuvaruku
Passed^リッヴィRivviRivvi
Passed^プロッヴィデンティPurovvidentiPurovvidenti
Passedウヌカㇻアンunukar'anunukar'an
Passedアㇺアㇺam'amam'am
Passedばーㇲ゙アbādz'abādz'a
Passedわ ゐ 𛄟 ゑ を ワ ヰ 𛄢 ヱ ヲwa i wu e o wa i wu e owa i wu e o wa i wu e o
Passedわ゙ ゐ゙ ゔ ゑ゙ を゙ ヷ ヸ ヴ ヹ ヺva vi vu ve vo va vi vu ve vova vi vu ve vo va vi vu ve vo
Passedこれはテストです。korehatesutodesu.korehatesutodesu.
Passedこれ は テスト です。それ は。それ はkore wa tesuto desu. sore wa. sore wakore wa tesuto desu. sore wa. sore wa
Passed^ウィキペディア へ ^ようこそWikipedia e YōkosoWikipedia e Yōkoso
Passed^ウィキペディア へ ^ようこそWikipedia e YōkosoWikipedia e Yōkoso
Passedは うはう う は う はwa uhau u wa u wawa uhau u wa u wa
Passedへ うへう う へ う へe uheu u e u ee uheu u e u e
Passed.は うはう う .は う .はha uhau u ha u haha uhau u ha u ha
Passedは. うはう う は. う は.ha uhau u ha u haha uhau u ha u ha
Passed^これ ^は ^テスト ^です。^へ へKore Wa Tesuto Desu. E eKore Wa Tesuto Desu. E e
Passed^ちょ% ^はっ%かいCho HakkaiCho Hakkai
Passedてにをはteniohatenioha
Passedをぅとーてぃwutōtiwutōti
Passedぎゃく-ハーレムgyaku-hāremugyaku-hāremu
Passedねこ-はneko-haneko-ha
Passedねこ-neko-haneko-ha
Passedねこ-は のneko-ha noneko-ha no
Passedねこ-neko-ha noneko-ha no
Passedhaha
Passedhaha
Passedhaha
Passedそれ は ねsore wa nesore wa ne
Passedこんにち はkonnichi wakonnichi wa
Passedそれ sore wa nesore wa ne
Passed^へ へ。E e.E e.
Passed^へ へ。E e.E e.
Passed^へ へ xE e xE e x
Passed^へ へ xE e xE e x
Passedうぉwowo
Passedは はwa wawa wa
Passedではdehadeha
Passedはー
Passedは〜ha~ha~
Passedは〰ha~ha~
Passedは゠はha-haha-ha
Passedハッha'ha'
Passedはっけんhakkenhakken
Passed^はっけんHakkenHakken
Passed「はっけん」“hakken”“hakken”
Passedはっけんhakkenhakken
Passedぎゃ ぎぃ ぎゅ ぎぇ ぎょ。くぁ くぃ くぅ くぇ くぉgya gī gyu gye gyo. kwa kwi kū kwe kwogya gī gyu gye gyo. kwa kwi kū kwe kwo
Passedうぁ うぃ うぅ うぇ うぉ。ヴぁ ヴぃ ヴ ヴぇ ヴぉwa wi wu we wo. va vi vu ve vowa wi wu we wo. va vi vu ve vo
Passedふぁ ふぃ ふ ふぇ ふぉfa fi fu fe fofa fi fu fe fo
Passedてぃ でぃ とぅ どぅ すぁ すぃ しぃ しぇ しょ ちぃ ぢぃ つぉ てぇ てゅ とぁ とぃ ふょ てょti di tu du sa si shī she sho chī jī tso tē tyu twa twi fyo tyoti di tu du sa si shī she sho chī jī tso tē tyu twa twi fyo tyo
Passedねぃ ぬゃni nyani nya
Passedねぇ、nē,nē,
Passedシークヮーサーshīkwāsāshīkwāsā
Passedりゃくしょう じょうず つみき ツァーリ ちゅうか つづけて そっち がっしょう マッツァーリryakushō jōzu tsumiki tsāri chūka tsuzukete sotchi gasshō mattsāriryakushō jōzu tsumiki tsāri chūka tsuzukete sotchi gasshō mattsāri
Passedこー やって。ばっさりkō yatte. bassarikō yatte. bassari
Passedし を ぼっ.すshi o bo'sushi o bo'su
Failedが がー がーー がーーー がーーーー がーーーーーga gā gaaa gaaaa gaaaaa gaaaaaaga gā gāa gāā gāāa gāāā
Passedじと じっと じっっと じっっっと じっっっっと じっっっっっとjito jitto jittto jitttto jittttto jittttttojito jitto jittto jitttto jittttto jitttttto
Passedめっちゃ めっっちゃ めっっっちゃmetcha mettcha metttchametcha mettcha metttcha
Failedあっ あーっ あぁーっ あああっっっa' ā' aaa' āaa' ā' āa' āa
Passedはええhaēhaē
Passedまてぇぇぇmateeeemateeee
Passedあっ と いう ま にa' to iu ma nia' to iu ma ni
Passedあっ、まちがえたa', machigaetaa', machigaeta
Passedあっ. まちがえたa' machigaetaa' machigaeta
Passedあっ と いう ま にa' to iu ma nia' to iu ma ni
Passedボン・キュッ・ボンbon kyub bonbon kyub bon
Passedアッ・^シャルキーヤas Sharukīyaas Sharukīya
Passedアッ゠^リヤードar-Riyādoar-Riyādo
Passedアッ.゠^リヤードa'-Riyādoa'-Riyādo
Passedアッ゠.^リヤードa'-Riyādoa'-Riyādo
Passedアッ.^リヤードa'Riyādoa'Riyādo
Passed^ハガッニャHaga'nyaHaga'nya
Passedトッモto'moto'mo
Passedだまっdamattedamatte
Passedいっぱつ の じゅうだんippatsu no jūdanippatsu no jūdan
Passedノンアポnon'aponon'apo
Passedんんとnntonnto
Passedんーとnntonnto
Passedっんーと'nnto'nnto
Passedせきヶはらsekigaharasekigahara
Passedせきはらsekigaharasekigahara
Passedけんいち にちようび こんやken'ichi nichiyōbi kon'yaken'ichi nichiyōbi kon'ya
Passedすゞき あゝsuzuki āsuzuki ā
Passedところゞゝゝtokorodokorotokorodokoro
Passedじゝjishijishi
Passedバナヽbananabanana
Passedイタベイトホヾニタリitabeitohobonitariitabeitohobonitari
Passedボヽ゚モフォbopomofobopomofo
Passedしゅゞshujushuju
Failedキ^ュンヽ^ヽkYunkyuNkyUnkyuN
Passedフィヽfifififi
Passedほっするhossuruhossuru
Passedみっmittsumittsu
Passedchichi
Passedめっちゃmetchametcha
Passedあ~ あ〜 あ〰a~ a~ a~a~ a~ a~
Passedあ!!!!a!!!!a!!!!
Passed200%200%200%
Passedjyouzu じょうずjyouzu jōzujyouzu jōzu
Passed^トゥットゥルー♪ ^まゆしぃ☆ですTutturū♪ Mayushī☆desuTutturū♪ Mayushī☆desu
Passed「^だって、すてき な まち です し、それ に なんと いって も この じょうひん な ふいんき!^・お-じょう-さま!^くうき も バラ の かおり が する と いう かっ!」“Datte, suteki na machi desu shi, sore ni nanto itte mo kono jōhin na fuinki! Za o-jō-sama! Kūki mo bara no kaori ga suru to iu ka'!”“Datte, suteki na machi desu shi, sore ni nanto itte mo kono jōhin na fuinki! Za o-jō-sama! Kūki mo bara no kaori ga suru to iu ka'!”
Passedあっあa'aa'a
Failedウッーウッーウマウマu'uu'uumaumau'u'umauma
Passedあ゙ あ゛'a 'a'a 'a
Passedさあ゙sa'asa'a
Passedウ゚ũũ
Passedん゙ ん゛'n 'n'n 'n
Failedよっyotteyo'te
Passed^って なんで おまえ が ここ に!Tte nande omae ga koko ni!Tte nande omae ga koko ni!
Failedあいうえお
おえういあ
aiueo
oeuia
aiueō
euia
Failedあいうえお
おえういあ
aiueo
oeuia
aiueō
euia
Failedこれ は
テスト です
kore wa
tesuto desu
kore ha
tesuto desu
Failedはこ%おしhakooshihakōshi
Failedごん%べ%えgonbeegonbē
Passedっっ^っってttTttettTtte
Passedしんいshin'ishin'i
Passedし.んいshin'ishin'i
Passedしん.いshin'ishin'i
Passedし・んいshi n'ishi n'i
Passedしん・いshin ishin i
Passedし.ん.いshin'ishin'i
Passedし.ん・いshin ishin i
Passedし・ん.いshi n'ishi n'i
Passedし・ん・いshi n ishi n i
Passedしんうぃshinwishinwi
Passedし.んうぃshinwishinwi
Passedしん.うぃshinwishinwi
Passedし・んうぃshi nwishi nwi
Passedしん・うぃshin wishin wi
Passedし.ん.うぃshinwishinwi
Passedし.ん・うぃshin wishin wi
Passedし・ん.うぃshi nwishi nwi
Passedし・ん・うぃshi n wishi n wi
Passedしぬぃんshi'nwinshi'nwin
Passedし.ぬぃんshi'nwinshi'nwin
Passedしぬぃ.んshi'nwinshi'nwin
Passedし・ぬぃんshi nwinshi nwin
Passedしぬぃ・んshi'nwi nshi'nwi n
Passedし.ぬぃ.んshi'nwinshi'nwin
Passedし.ぬぃ・んshi'nwi nshi'nwi n
Passedし・ぬぃ.んshi nwinshi nwin
Passedし・ぬぃ・んshi nwi nshi nwi n
Passedしぬ𛅐んshi'nwinshi'nwin
Passedし.ぬ𛅐んshi'nwinshi'nwin
Passedしぬ𛅐.んshi'nwinshi'nwin
Passedし・ぬ𛅐んshi nwinshi nwin
Passedしぬ𛅐・んshi'nwi nshi'nwi n
Passedし.ぬ𛅐.んshi'nwinshi'nwin
Passedし.ぬ𛅐・んshi'nwi nshi'nwi n
Passedし・ぬ𛅐.んshi nwinshi nwin
Passedし・ぬ𛅐・んshi nwi nshi nwi n
Passedうんぐunguungu
Passedう.んぐunguungu
Passedうん.ぐunguungu
Passedう・んぐu nguu ngu
Passedうん・ぐun guun gu
Passedう.ん.ぐunguungu
Passedう.ん・ぐun guun gu
Passedう・ん.ぐu nguu ngu
Passedう・ん・ぐu n guu n gu
Passedうく゚んu'ngunu'ngun
Passedう.く゚んu'ngunu'ngun
Passedうく゚.んu'ngunu'ngun
Passedう・く゚んu ngunu ngun
Passedうく゚・んu'ngu nu'ngu n
Passedう.く゚.んu'ngunu'ngun
Passedう.く゚・んu'ngu nu'ngu n
Passedう・く゚.んu ngunu ngun
Passedう・く゚・んu ngu nu ngu n
Passedんく゚n'ngun'ngu
Passedん.く゚n'ngun'ngu
Passedん・く゚n ngun ngu
Failedっな゙'nnana
Failedっん゙'nn'n
Failedエック゚e'nnguen'ngu
Passedんぬnnunnu
Passedんぬぁnnwannwa
Passedん゙ぬ'nnu'nnu
Passedん゙ぬぁ'nnwa'nnwa
Failedふづぁfuzafuds-a

local m = require("Module:Hrkt-translit")
local t = require("Module:UnitTests")

local options
local function e(k, r, lang)
	return t:equals(k, m.tr(k, lang or "ja", nil, options), r)
end

function t:test_transliterate_kana()
	options = nil
	e("あ", "a")
	e("あぁ", "ā")
	e("ああ", "ā")
	e("あー", "ā")
	e("い", "i")
	e("いぃ", "yi")
	e("いい", "ī")
	e("いー", "ī")
	e("いぇ", "ye")
	e("う", "u")
	e("ゔ", "vu")
	e("うぁ", "wa")
	e("ゔぁ", "va")
	e("うぃ", "wi")
	e("ゔぃ", "vi")
	e("うぃぇ", "wye")
	e("ゔぃぇ", "vye")
	e("うぅ", "wu")
	e("うう", "ū")
	e("うー", "ū")
	e("うぇ", "we")
	e("ゔぇ", "ve")
	e("うぉ", "wo")
	e("ゔぉ", "vo")
	e("うゃ", "wya")
	e("ゔゃ", "vya")
	e("うゅ", "wyu")
	e("ゔゅ", "vyu")
	e("うょ", "wyo")
	e("ゔょ", "vyo")
	e("え", "e")
	e("えぃ", "ei")
	e("えい", "ei")
	e("えぇ", "ē")
	e("ええ", "ē")
	e("えー", "ē")
	e("お", "o")
	e("おぅ", "ou")
	e("おう", "ō")
	e("おぉ", "ō")
	e("おお", "ō")
	e("おー", "ō")
	e("か", "ka")
	e("が", "ga")
	e("かぁ", "kā")
	e("かあ", "kā")
	e("かー", "kā")
	e("がぁ", "gā")
	e("があ", "gā")
	e("がー", "gā")
	e("き", "ki")
	e("ぎ", "gi")
	e("きぃ", "kyi")
	e("きい", "kī")
	e("きー", "kī")
	e("ぎぃ", "gyi")
	e("ぎい", "gī")
	e("ぎー", "gī")
	e("きゃ", "kya")
	e("ぎゃ", "gya")
	e("きゃぁ", "kyā")
	e("きゃー", "kyā")
	e("きゃあ", "kyā")
	e("ぎゃぁ", "gyā")
	e("ぎゃー", "gyā")
	e("ぎゃあ", "gyā")
	e("きゅ", "kyu")
	e("ぎゅ", "gyu")
	e("きゅぅ", "kyū")
	e("きゅー", "kyū")
	e("きゅう", "kyū")
	e("ぎゅぅ", "gyū")
	e("ぎゅー", "gyū")
	e("ぎゅう", "gyū")
	e("きょ", "kyo")
	e("ぎょ", "gyo")
	e("きょぅ", "kyō")
	e("きょう", "kyō")
	e("ぎょぅ", "gyō")
	e("ぎょう", "gyō")
	e("きょぉ", "kyō")
	e("きょー", "kyō")
	e("きょお", "kyō")
	e("ぎょぉ", "gyō")
	e("ぎょー", "gyō")
	e("ぎょお", "gyō")
	e("く", "ku")
	e("ぐ", "gu")
	e("くぁ", "kwa")
	e("ぐぁ", "gwa")
	e("くぃ", "kwi")
	e("ぐぃ", "gwi")
	e("くぅ", "kwu")
	e("くう", "kū")
	e("くー", "kū")
	e("ぐぅ", "gwu")
	e("ぐう", "gū")
	e("ぐー", "gū")
	e("くぇ", "kwe")
	e("ぐぇ", "gwe")
	e("くぉ", "kwo")
	e("ぐぉ", "gwo")
	e("くゎ", "kwa")
	e("ぐゎ", "gwa")
	e("け", "ke")
	e("げ", "ge")
	e("けぃ", "kei")
	e("けい", "kei")
	e("げぃ", "gei")
	e("げい", "gei")
	e("けぇ", "kē")
	e("けえ", "kē")
	e("けー", "kē")
	e("げぇ", "gē")
	e("げえ", "gē")
	e("げー", "gē")
	e("こ", "ko")
	e("ご", "go")
	e("こぅ", "kō")
	e("こう", "kō")
	e("ごぅ", "gō")
	e("ごう", "gō")
	e("こぉ", "kō")
	e("こお", "kō")
	e("こー", "kō")
	e("ごぉ", "gō")
	e("ごお", "gō")
	e("ごー", "gō")
	e("さ", "sa")
	e("ざ", "za")
	e("さぁ", "sā")
	e("さあ", "sā")
	e("さー", "sā")
	e("ざぁ", "zā")
	e("ざあ", "zā")
	e("ざー", "zā")
	e("し", "shi")
	e("じ", "ji")
	e("しぃ", "shyi")
	e("しい", "shī")
	e("しー", "shī")
	e("じぃ", "jyi")
	e("じい", "jī")
	e("じー", "jī")
	e("しゃ", "sha")
	e("じゃ", "ja")
	e("しゃぁ", "shā")
	e("しゃー", "shā")
	e("しゃあ", "shā")
	e("じゃぁ", "jā")
	e("じゃー", "jā")
	e("じゃあ", "jā")
	e("しゅ", "shu")
	e("じゅ", "ju")
	e("しゅぅ", "shwu")
	e("しゅー", "shū")
	e("しゅう", "shū")
	e("じゅぅ", "jwu")
	e("じゅー", "jū")
	e("じゅう", "jū")
	e("しょ", "sho")
	e("じょ", "jo")
	e("しょぅ", "shō")
	e("しょう", "shō")
	e("じょぅ", "jō")
	e("じょう", "jō")
	e("しょぉ", "shō")
	e("しょー", "shō")
	e("しょお", "shō")
	e("じょぉ", "jō")
	e("じょー", "jō")
	e("じょお", "jō")
	e("す", "su")
	e("ず", "zu")
	e("すぁ", "swa")
	e("ずぁ", "zwa")
	e("すぃ", "si")
	e("ずぃ", "zi")
	e("すぃぇ", "sye")
	e("ずぃぇ", "zye")
	e("すぅ", "swu")
	e("すう", "sū")
	e("すー", "sū")
	e("ずぅ", "zwu")
	e("ずう", "zū")
	e("ずー", "zū")
	e("すぇ", "swe")
	e("ずぇ", "zwe")
	e("すぉ", "swo")
	e("ずぉ", "zwo")
	e("すゃ", "sya")
	e("ずゃ", "zya")
	e("すゅ", "syu")
	e("ずゅ", "zyu")
	e("すょ", "syo")
	e("ずょ", "zyo")
	e("すゎ", "swa")
	e("ずゎ", "zwa")
	e("せ", "se")
	e("ぜ", "ze")
	e("せぃ", "sei")
	e("せい", "sei")
	e("ぜぃ", "zei")
	e("ぜい", "zei")
	e("せぇ", "sē")
	e("せえ", "sē")
	e("せー", "sē")
	e("ぜぇ", "zē")
	e("ぜえ", "zē")
	e("ぜー", "zē")
	e("そ", "so")
	e("ぞ", "zo")
	e("そぅ", "sō")
	e("そう", "sō")
	e("ぞぅ", "zō")
	e("ぞう", "zō")
	e("そぉ", "sō")
	e("そお", "sō")
	e("そー", "sō")
	e("ぞぉ", "zō")
	e("ぞお", "zō")
	e("ぞー", "zō")
	e("た", "ta")
	e("だ", "da")
	e("たぁ", "tā")
	e("たあ", "tā")
	e("たー", "tā")
	e("だぁ", "dā")
	e("だあ", "dā")
	e("だー", "dā")
	e("ち", "chi")
	e("ぢ", "ji")
	e("ちぃ", "chyi")
	e("ちい", "chī")
	e("ちー", "chī")
	e("ぢぃ", "jyi")
	e("ぢい", "jī")
	e("ぢー", "jī")
	e("ちゃ", "cha")
	e("ぢゃ", "ja")
	e("ちゃぁ", "chā")
	e("ちゃー", "chā")
	e("ちゃあ", "chā")
	e("ぢゃぁ", "jā")
	e("ぢゃー", "jā")
	e("ぢゃあ", "jā")
	e("ちゅ", "chu")
	e("ぢゅ", "ju")
	e("ちゅぅ", "chwu")
	e("ちゅー", "chū")
	e("ちゅう", "chū")
	e("ぢゅぅ", "jwu")
	e("ぢゅー", "jū")
	e("ぢゅう", "jū")
	e("ちょ", "cho")
	e("ぢょ", "jo")
	e("ちょぅ", "chō")
	e("ちょう", "chō")
	e("ぢょぅ", "jō")
	e("ぢょう", "jō")
	e("ちょぉ", "chō")
	e("ちょー", "chō")
	e("ちょお", "chō")
	e("ぢょぉ", "jō")
	e("ぢょー", "jō")
	e("ぢょお", "jō")
	e("て", "te")
	e("で", "de")
	e("てぃ", "ti")
	e("てい", "tei")
	e("でぃ", "di")
	e("でい", "dei")
	e("てぃぇ", "tye")
	e("でぃぇ", "dye")
	e("てぇ", "tē")
	e("てえ", "tē")
	e("てー", "tē")
	e("でぇ", "dē")
	e("でえ", "dē")
	e("でー", "dē")
	e("てゃ", "tya")
	e("でゃ", "dya")
	e("てゅ", "tyu")
	e("でゅ", "dyu")
	e("てょ", "tyo")
	e("でょ", "dyo")
	e("と", "to")
	e("ど", "do")
	e("とぁ", "twa")
	e("どぁ", "dwa")
	e("とぃ", "twi")
	e("どぃ", "dwi")
	e("とぅ", "tu")
	e("とう", "tō")
	e("どぅ", "du")
	e("どう", "dō")
	e("とぅぉ", "two")
	e("どぅぉ", "dwo")
	e("とぇ", "twe")
	e("どぇ", "dwe")
	e("とぉ", "tō")
	e("とお", "tō")
	e("とー", "tō")
	e("どぉ", "dō")
	e("どお", "dō")
	e("どー", "dō")
	e("とゎ", "twa")
	e("どゎ", "dwa")
	e("と゚", "tu")
	e("ト゚ゥ", "twu")
	e("ト゚ー", "tū")
end

function t:test_transliterate_normal()
	options = nil
	e("アイェキキェ ヴィェウィフエ", "ayekikye vyewifue")
	e("かいしょないしぎょうしょで ひょうげんされる しゃくじとしての かんじを、きょくどに そうたいかした ものである", "kaishonaishigyōshode hyōgensareru shakujitoshiteno kanjio, kyokudoni sōtaikashita monodearu")
	e("しんかんせん", "shinkansen")
	e("ぴなーるん", "phinārun", "xug")
	-- ====
	e("こううん", "kōun")
	e("きんえん", "kin'en")
	e("きんねん", "kinnen")
	e("きねん", "kinen")
	e("きんゆう", "kin'yū")
	e("きにゅう", "kinyū")
	e("おんわ", "onwa")
	e("^コンウィ", "Konwi")
	e("^コーンウォール", "Kōnwōru")
	e("^ルブヌィ", "Rubu'nwi")
	e("^ヴィーンヌィツャ", "Vīnnwitsya")
	e("^ロヴァニエミ", "Rovaniemi")
	e("オヴム", "ovumu")
	e("クヴァルク", "kuvaruku")
	e("^リッヴィ", "Rivvi")
	e("^プロッヴィデンティ", "Purovvidenti")
	e("ウヌカㇻアン", "unukar'an", "ain")
	e("アㇺアㇺ", "am'am", "ain")
	e("ばーㇲ゙ア", "bādz'a", "mvi")
	e("わ ゐ 𛄟 ゑ を ワ ヰ 𛄢 ヱ ヲ", "wa i wu e o wa i wu e o")
	e("わ゙ ゐ゙ ゔ ゑ゙ を゙ ヷ ヸ ヴ ヹ ヺ", "va vi vu ve vo va vi vu ve vo")
	e("これはテストです。", "korehatesutodesu.")
	e("これ は テスト です。それ は。それ は", "kore wa tesuto desu. sore wa. sore wa")
	e("'''^ウィキペディア''' へ ^ようこそ", "'''Wikipedia''' e Yōkoso")
	e("^'''ウィキペディア''' へ ^ようこそ", "'''Wikipedia''' e Yōkoso")
	-- ====
	e("は うはう う は う は", "wa uhau u wa u wa")
	e("へ うへう う へ う へ", "e uheu u e u e")
	e(".は うはう う .は う .は", "ha uhau u ha u ha")
	e("は. うはう う は. う は.", "ha uhau u ha u ha")
	e("^これ ^は ^テスト ^です。^へ へ", "Kore Wa Tesuto Desu. E e") -- but what kind of sick monster capitalizes particles
	e("^ちょ% ^はっ%かい", "Cho Hakkai")
	e("てにをは", "tenioha")
	e("をぅとーてぃ", "wutōti", "ryu")
	e("ぎゃく-ハーレム", "gyaku-hāremu")
	e("ねこ-は", "neko-ha")
	e("ねこ-'''は'''", "neko-'''ha'''")
	e("ねこ-は の", "neko-ha no")
	e("ねこ-'''は''' の", "neko-'''ha''' no")
	e("は", "ha")
	e("'''は'''", "'''ha'''")
	e("<u>は</u>", "<u>ha</u>")
	e("それ は ね", "sore wa ne")
	e("'''こんにち は'''", "'''konnichi wa'''")
	e("それ '''は''' ね", "sore '''wa''' ne")
	e("^へ へ。", "E e.")
	e("^へ へ。", "E e.")
	e("^へ へ x", "E e x")
	e("^へ へ x", "E e x")
	e("うぉ", "wo")
	e("は は", "wa wa")
	e("では", "deha")
	e("はー", "hā")
	e("は〜", "ha~")
	e("は〰", "ha~")
	e("は゠は", "ha-ha")
	e("ハッ", "ha'")
	e("はっけん", "hakken")
	e("^はっけん", "Hakken")
	e("「はっけん」", "“hakken”")
	e("'''はっけん'''", "'''hakken'''")
	-- ====
	e("ぎゃ ぎぃ ぎゅ ぎぇ ぎょ。くぁ くぃ くぅ くぇ くぉ", "gya gī gyu gye gyo. kwa kwi kū kwe kwo")
	e("うぁ うぃ うぅ うぇ うぉ。ヴぁ ヴぃ ヴ ヴぇ ヴぉ", "wa wi wu we wo. va vi vu ve vo")
	e("ふぁ ふぃ ふ ふぇ ふぉ", "fa fi fu fe fo")
	e("てぃ でぃ とぅ どぅ すぁ すぃ しぃ しぇ しょ ちぃ ぢぃ つぉ てぇ てゅ とぁ とぃ ふょ てょ", "ti di tu du sa si shī she sho chī jī tso tē tyu twa twi fyo tyo")
	e("ねぃ ぬゃ", "ni nya") -- ¯\_(ツ)_/¯
	e("ねぇ、", "nē,")
	e("シークヮーサー", "shīkwāsā")
	-- ====
	e("りゃくしょう じょうず つみき ツァーリ ちゅうか つづけて そっち がっしょう マッツァーリ", "ryakushō jōzu tsumiki tsāri chūka tsuzukete sotchi gasshō mattsāri")
	e("こー やって。ばっさり", "kō yatte. bassari")
	e("し を ぼっ.す", "shi o bo'su")
	e("が がー がーー がーーー がーーーー がーーーーー", "ga gā gaaa gaaaa gaaaaa gaaaaaa")
	e("じと じっと じっっと じっっっと じっっっっと じっっっっっと", "jito jitto jittto jitttto jittttto jitttttto")
	e("めっちゃ めっっちゃ めっっっちゃ", "metcha mettcha metttcha")
	e("あっ あーっ あぁーっ あああっっっ", "a' ā' aaa' āa'''")
	e("はええ", "haē")
	e("まてぇぇぇ", "mateeee")
	e("あっ と いう ま に", "a' to iu ma ni")
	e("あっ、まちがえた", "a', machigaeta")
	e("あっ. まちがえた", "a' machigaeta")
	e("あっ と いう ま に", "a' to iu ma ni")
	e("ボン・キュッ・ボン", "bon kyub bon")
	e("アッ・^シャルキーヤ", "as Sharukīya")
	e("アッ゠^リヤード", "ar-Riyādo")
	e("アッ.゠^リヤード", "a'-Riyādo")
	e("アッ゠.^リヤード", "a'-Riyādo")
	e("アッ.^リヤード", "a'Riyādo")
	e("^ハガッニャ", "Haga'nya")
	e("トッモ", "to'mo")
	e("'''だまっ'''て", "'''damat'''te")
	e("いっ'''ぱつ''' の じゅうだん", "ip'''patsu''' no jūdan")
	e("'''ノン'''アポ", "'''non''''apo")
	e("んんと", "nnto")
	e("んーと", "nnto")
	e("っんーと", "'nnto")
	-- ====
	e("せきヶはら", "sekigahara")
	e("せき'''ヶ'''はら", "seki'''ga'''hara")
	e("けんいち にちようび こんや", "ken'ichi nichiyōbi kon'ya")
	e("すゞき あゝ", "suzuki ā")
	e("ところゞゝゝ", "tokorodokoro")
	e("じゝ", "jishi")
	e("バナヽ", "banana")
	e("イタベイトホヾニタリ", "itabeitohobonitari")
	e("ボヽ゚モフォ", "bopomofo")
	e("しゅゞ", "shuju")
	e("キ^ュンヽ^ヽ", "kYunkyuN")
	e("フィヽ", "fifi")
	e("<u>ほっ</u>する", "<u>hos</u>suru")
	e("<u>みっ</u>つ", "<u>mit</u>tsu")
	e("<u>ち</u>", "<u>chi</u>")
	e("<u>めっ</u>ちゃ", "<u>met</u>cha")
	-- ====
	e("あ~ あ〜 あ〰", "a~ a~ a~")
	e("あ!!!!", "a!!!!")
	e("200%", "200%")
	-- ====
	e("jyouzu じょうず", "jyouzu jōzu")
	e("^トゥットゥルー♪ ^まゆしぃ☆です", "Tutturū♪ Mayushī☆desu")
	e("「^だって、すてき な まち です し、それ に なんと いって も この じょうひん な ふいんき!^'''ザ'''・お-じょう-さま!^くうき も バラ の かおり が する と いう かっ!」", "“Datte, suteki na machi desu shi, sore ni nanto itte mo kono jōhin na fuinki! '''Za''' o-jō-sama! Kūki mo bara no kaori ga suru to iu ka'!”")
	e("あっあ", "a'a")
	e("ウッーウッーウマウマ", "u'uu'uumauma")
	e("あ゙ あ゛", "'a 'a")
	e("さあ゙", "sa'a")
	e("ウ゚", "ũ")
	e("ん゙ ん゛", "'n 'n")
	e("[[よる|よっ]]て", "yotte")
	e("^'''って''' なんで おまえ が ここ に!", "'''Tte''' nande omae ga koko ni!") -- [https://en.wiktionary.org/w/index.php?title=って&oldid=76847684]
	e("あいうえお<br>おえういあ", "aiueo<br>oeuia") -- [https://en.wiktionary.org/w/index.php?title=裏垢&oldid=64163569]
	e("あいうえお<br>'''おえ'''ういあ", "aiueo<br>'''oe'''uia") -- [https://en.wiktionary.org/w/index.php?title=裏垢&oldid=64163569]
	e("これ は<br>テスト です", "kore wa<br>tesuto desu") -- [https://en.wiktionary.org/w/index.php?title=電子計算機&oldid=80107202]
	e("はこ%おし", "hakooshi") -- [https://en.wiktionary.org/w/index.php?title=Module:ja&diff=prev&oldid=41701081]
	e("ごん%べ%え", "gonbee") -- [https://en.wiktionary.org/w/index.php?title=Module:ja&diff=prev&oldid=41701081]
	e("っっ^っって", "ttTtte")
	e("しんい", "shin'i")
	e("し.んい", "shin'i")
	e("しん.い", "shin'i")
	e("し・んい", "shi n'i")
	e("しん・い", "shin i")
	e("し.ん.い", "shin'i")
	e("し.ん・い", "shin i")
	e("し・ん.い", "shi n'i")
	e("し・ん・い", "shi n i")
	e("しんうぃ", "shinwi")
	e("し.んうぃ", "shinwi")
	e("しん.うぃ", "shinwi")
	e("し・んうぃ", "shi nwi")
	e("しん・うぃ", "shin wi")
	e("し.ん.うぃ", "shinwi")
	e("し.ん・うぃ", "shin wi")
	e("し・ん.うぃ", "shi nwi")
	e("し・ん・うぃ", "shi n wi")
	e("しぬぃん", "shi'nwin")
	e("し.ぬぃん", "shi'nwin")
	e("しぬぃ.ん", "shi'nwin")
	e("し・ぬぃん", "shi nwin")
	e("しぬぃ・ん", "shi'nwi n")
	e("し.ぬぃ.ん", "shi'nwin")
	e("し.ぬぃ・ん", "shi'nwi n")
	e("し・ぬぃ.ん", "shi nwin")
	e("し・ぬぃ・ん", "shi nwi n")
	e("しぬ𛅐ん", "shi'nwin")
	e("し.ぬ𛅐ん", "shi'nwin")
	e("しぬ𛅐.ん", "shi'nwin")
	e("し・ぬ𛅐ん", "shi nwin")
	e("しぬ𛅐・ん", "shi'nwi n")
	e("し.ぬ𛅐.ん", "shi'nwin")
	e("し.ぬ𛅐・ん", "shi'nwi n")
	e("し・ぬ𛅐.ん", "shi nwin")
	e("し・ぬ𛅐・ん", "shi nwi n")
	e("うんぐ", "ungu")
	e("う.んぐ", "ungu")
	e("うん.ぐ", "ungu")
	e("う・んぐ", "u ngu")
	e("うん・ぐ", "un gu")
	e("う.ん.ぐ", "ungu")
	e("う.ん・ぐ", "un gu")
	e("う・ん.ぐ", "u ngu")
	e("う・ん・ぐ", "u n gu")
	e("うく゚ん", "u'ngun")
	e("う.く゚ん", "u'ngun")
	e("うく゚.ん", "u'ngun")
	e("う・く゚ん", "u ngun")
	e("うく゚・ん", "u'ngu n")
	e("う.く゚.ん", "u'ngun")
	e("う.く゚・ん", "u'ngu n")
	e("う・く゚.ん", "u ngun")
	e("う・く゚・ん", "u ngu n")
	e("んく゚", "n'ngu")
	e("ん.く゚", "n'ngu")
	e("ん・く゚", "n ngu")
	e("っな゙", "'nna", "ryn")
	e("っん゙", "'nn", "ryu")
	e("エック゚", "e'nngu")
	e("んぬ", "nnu")
	e("んぬぁ", "nnwa")
	e("ん゙ぬ", "'nnu")
	e("ん゙ぬぁ", "'nnwa")
	e("ふづぁ", "fuza", "mvi")
end

function t:test_transliterate_historical()
	options = {hist = true}
	e("づ", "du")
	e("ず", "zu")
	e("ぢ", "di")
	e("じ", "zi")
	e("つ", "tu")
	e("ち", "ti")
	e("おお", "oo") -- [[Talk:公]]
	e("おう", "ou")
	e("はん", "fan")
	-- ===
	e("しよう", "syou")
	e("きやう", "kyau")
	e("し.よう", "siyou")
	e("いゆ", "iyu")
	e("きよ", "kyo")
	e("きよう", "kyou")
	e("ちや", "tya")
	e("くわ", "kwa") -- only before く / ぐ
	e("くゑ", "kwe")
	e("く.わ", "kuwa")
	e("すゑ", "suwe")
	e("にうわ", "niuwa")
	e("つ.ゑ", "tuwe")
	e("くゐよく", "kwyoku")
	e("かんわ", "kan'wa")
	e("くわんゐん", "kwan'win")
end

function t:test_transliterate_no_diacritics()
	options = {no_diacritics = true}
	e("かいしょないしぎょうしょで ひょうげんされる しゃくじとしての かんじを、きょくどに そうたいかした ものである", "kaishonaishigyoushode hyougensareru shakujitoshiteno kanjio, kyokudoni soutaikashita monodearu")
end
 
return t