Module:kilta-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 57: Line 57:
local function syllabify(term)
local function syllabify(term)
local iskolan = term == "kolaːn"
local iskolan = term == "kolaːn"
local syllable = "(" .. consonants .. "*" .. vowels .. "ː?" .. consonants .. "-)"
local syllable = "(" .. consonants .. "*" .. vowels .. consonants .. "-)"
term = term:gsub("(" .. consonants .. ")ː", "%1·%1")
term = term:gsub("(" .. consonants .. ")ː", "%1·%1")
term = term:gsub("q·q", "k·q")
term = term:gsub("q·q", "k·q")