Module:xchc-noun: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 38: Line 38:
local roundh = ipa:match("[yuøo]") and "r" or ipa:match("[ie]") and "u" or nil
local roundh = ipa:match("[yuøo]") and "r" or ipa:match("[ie]") and "u" or nil
local repl = {["r"] = data.r, ["u"] = data.u}
local repl = {["r"] = data.r, ["u"] = data.u}
return ipa -- word:gsub("R", repl[roundh or def])
return word:gsub("R", repl[roundh or def])
end
end


Line 147: Line 147:
title=data.word,
title=data.word,
after_title="[[:Category:Chiingimec " .. genders[data.g] .. " nouns|" .. genders[data.g] .. "]]",
after_title="[[:Category:Chiingimec " .. genders[data.g] .. " nouns|" .. genders[data.g] .. "]]",
all_cases=make_cases(data)}
all_cases=wordpron(data.word) -- make_cases(data)
)
})
end
end


return export
return export

Navigation menu