Module:xchc-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 123: Line 123:
local exception = (term:match(unrounded) and term:match(rounded)) or (term:match(front) and term:match(back))
local exception = (term:match(unrounded) and term:match(rounded)) or (term:match(front) and term:match(back))
if exception then
if exception then
termR = term:gsub(neutralR, ""); termB = term:gsub(neutralB, "")
termR = termR:gsub(neutralR, ""); termB = termB:gsub(neutralB, "")
termR = termR:match(vowels .. consonants .. "*$"); termB = termB:match(vowels .. consonants .. "*$")
termR = termR:match(vowels .. consonants .. "*$"); termB = termB:match(vowels .. consonants .. "*$")
end
end

Navigation menu