Module:User:Isomorphyc/th-translit-draft

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"), export.trFull(text) end

function export.trFull(text) return { orthographic = table.concat(m_pron.getCharSeqTbl(text)), phonemic = "phonemic-stub", phonetic = "phonetic-stub" } end

return export