Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 56: Line 56:
{"ü", "au̯"},
{"ü", "au̯"},
{"ï", "ai̯"},
{"ï", "ai̯"},
{"(ʔ?)ə·?(ˈ?)ə", "%2%1əː"},
{"[·%.]ˈ", "ˈ"}, {"·", "."}, {"([áéíóú])", function(v) return deacuter[v] .. "ː" end},
{"[·%.]ˈ", "ˈ"}, {"·", "."}, {"([áéíóú])", function(v) return deacuter[v] .. "ː" end},
}
}
Line 62: Line 61:
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 = gsub(term, syllable, "·%1%2%3·")
term = gsub(term, syllable, "·%1%2%3·")

Navigation menu