跳转到内容

模組:Vaii-translit

維基詞典,自由的多語言詞典

Transliteration for the Vai syllabary, following the IPA-based standard documented at WT:Vai transliteration.


local export = {}

function export.tr(text)
	local data = mw.loadData("Module:Vaii-translit/data")
	
	text = mw.ustring.gsub(text, "꘎꘎", "!")
	text = mw.ustring.gsub(text, "..", data.tt_doubled)
	text = mw.ustring.gsub(text, '.', data.tt)
	
	return text

end

return export