Module:qlu-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 52: Line 52:
{"qu?", "ḱ"}, {"þ", "θ"}, {"v", "β"},
{"qu?", "ḱ"}, {"þ", "θ"}, {"v", "β"},
{"%-", ""},
--{"%-", ""},
}
}


Line 181: Line 181:
if not match(word, "·") then
if not match(word, "·") then
word = gsub(word, "%-", "·")
for cluster, _ in pairs(clusters) do
for cluster, _ in pairs(clusters) do
word = gsub(word, "(" .. cluster .. vowels .. "+" .. consonants .. "?)", "·%1·")
word = gsub(word, "(" .. cluster .. vowels .. "+" .. consonants .. "?)", "·%1·")