Module:kilta-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 151: Line 151:


local phonemic, phonetic = separate_word(term)
local phonemic, phonetic = separate_word(term)
for _, rule in ipairs(sandhi_rules) do
phonetic = gsub(phonetic, rule[1], rule[2])
end
local IPA_args = {{pron = '/' .. phonemic .. '/'}, {pron = '[' .. phonetic .. ']'}}
local IPA_args = {{pron = '/' .. phonemic .. '/'}, {pron = '[' .. phonetic .. ']'}}