Module:qhv-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 29: Line 29:
local pattern = "(" .. consonants .. "?".. vowels .. "*" .. consonants .. "-)"
local pattern = "(" .. consonants .. "?".. vowels .. "*" .. consonants .. "-)"
local syll = {}
local syll = {}
term = gsub(term, pattern, "%")
term = gsub(term, pattern, "·%1")
term = gsub(term, "^·", "")
term = gsub(term, "^·", "")
term = gsub(term, "·(" .. consonants .. ")·", "%1·")
term = gsub(term, "·(" .. consonants .. ")·", "%1·")

Navigation menu