Module:qhv-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 34: Line 34:
term = gsub(term, "·(" .. consonants .. ")$", "%1")
term = gsub(term, "·(" .. consonants .. ")$", "%1")
term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")", "%1·%2")
term = gsub(term, "·(" .. consonants .. ")(" .. consonants .. ")", "%1·%2")
term = gsub(term, "·$", "")
syllables = split(term, "·")
syllables = split(term, "·")