模組:th-translit

嚟自維基辭典
Jump to navigation Jump to search

呢個模組嘅解說可以喺模組:th-translit/doc度開

-- Transliteration for Thai 泰語轉譯

local export = {}

local m_pron = require("Module:th-pron")

function export.tr(text, lang, sc)
	return m_pron.translit(text, lang, sc, "paiboon", "translit-module")
end

function export.tr1(text)
	return table.concat(m_pron.getCharSeqTbl(text))
end

return export