Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 28: Line 28:
local syllable = "(" .. consonants .. "*" .. vowels .. "ː" .. consonants .. "-)"
local syllable = "(" .. consonants .. "*" .. vowels .. "ː" .. consonants .. "-)"
term = term:gsub(syllable, ".%1.")
term = term:gsub(syllable, ".%1.")
term = term:gsub("%.%.([nlɾs])(" .. consonant .. ")", "%1.%2")
term = term:gsub("%.%.([nlɾs])(" .. consonants .. ")", "%1.%2")
term = term:gsub("^%.", "")
term = term:gsub("^%.", "")