Module:siwa-noun: Difference between revisions
No edit summary |
No edit summary |
||
| Line 114: | Line 114: | ||
if parent_args.m then data.forms["m"][1] = parent_args["m"] end | if parent_args.m then data.forms["m"][1] = parent_args["m"] end | ||
-- Diphthong and long vowel coalescence | -- Diphthong and long vowel coalescence | ||
for _, case in ipairs(cases) do | if not m_data[word] then | ||
for _, case in ipairs(cases) do | |||
local n = 1 | |||
while data.forms[case][n] do | |||
for regex, repl in pairs(m_com.triphthong_coalescence) do | |||
data.forms[case][n] = gsub(data.forms[case][n], regex, repl) | |||
end | |||
n = n + 1 | |||
end | end | ||
end | end | ||
end | end | ||