45,640
edits
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
local match = mw.ustring.match | local match = mw.ustring.match | ||
local v = "([aeiouyůõảẻỉỏủỷę])" | local v = "([aeiouyůõảẻỉỏủỷę])" | ||
local nv = "([^aeiouyůõảẻỉỏủỷę])" | |||
local PAGENAME = mw.title.getCurrentTitle().text | local PAGENAME = mw.title.getCurrentTitle().text | ||
local na = false -- does Not Apocopate | local na = false -- does Not Apocopate | ||
Line 242: | Line 243: | ||
data.forms["m"] = {s3 .. "ndi"} | data.forms["m"] = {s3 .. "ndi"} | ||
loc = s3 .. "ndi" | loc = s3 .. "ndi" | ||
elseif stem:match("[uo][mn].$") then | elseif stem:match(nv.."[uo][mn].$") then | ||
data.forms["m"] = {s3 .. "õdi"} | data.forms["m"] = {s3 .. "õdi"} | ||
loc = s3 .. "õdi" | loc = s3 .. "õdi" |