Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Created page with "local sub = mw.ustring.sub local find = mw.ustring.find local gmatch = mw.ustring.gmatch local gsub = mw.ustring.gsub local match = mw.ustring.match local u = mw.ustring.char local split = mw.text.split local gsplit = mw.text.gsplit local A = u(0x0301) -- COMBINING ACUTE local D = u(0x0308) -- COMBINING DIAERESIS local lang = require("Module:languages").getByCode("kilta") local m_IPA = require("Module:IPA") local consonants = "[pβmtsnɾlʧkxʷʞƕː]" local vowels =...")
 
No edit summary
Line 105: Line 105:
local IPA_args = {}
local IPA_args = {}
local phonemic, phonetic = separate_word(term)
local phonemic, phonetic = separate_word(term)
table.insert(IPA_args, {pron = '/' .. phonemic .. '/, [' .. phonetic .. ']'})
table.insert(IPA_args, {pron = '/' .. phonemic .. '/ [' .. phonetic .. ']'})


return "* " .. m_IPA.format_IPA_full(lang, IPA_args)
return "* " .. m_IPA.format_IPA_full(lang, IPA_args)

Navigation menu