မဝ်ဂျူ:accel/pl
မံက်ပြာကတ်
Documentation for this module may be created at မဝ်ဂျူ:accel/pl/doc
return {
generate = function(params, entry)
entry.pronunc = "{{pl-pr}}";
if (params.form == "ပတဝ်ပတုပ်ရံၚ်" or (params.form == "သဒ္ဒာ")) and (params.pos == "နာမဝိသေသန") then
entry.declension = "{{pl-adecl}}";
elseif (params.form == "နာမ်စိတ္တဇ" or (params.form == "နာမ်ပါၚ်တိုက်")) and (params.pos == "ကြိယာ") then
entry.etymology = "From {{af|pl|" .. params.origin .. "|-}}."
entry.pos_header = "နာမ်";
entry.head = "{{pl-noun|n}}";
entry.def = entry.make_def((params.form .. " of"));
entry.declension = "{{pl-decl-noun-n|tantum=s}}";
elseif params.form == "anterior adverbial participle" and (params.pos == "ကြိယာ") then
entry.pos_header = "လုပ်ကၠောန်စွံလဝ်";
entry.head = "{{pl-participle|aadv}}";
entry.def = entry.make_def("ကြိယာအပြံၚ်အလှာဲမဆေၚ်စပ်ကဵုဝေါဟာ", "||anterior|adverbial|part");
elseif params.form == "contemporary adverbial participle" and (params.pos == "ကြိယာ") then
entry.pos_header = "လုပ်ကၠောန်စွံလဝ်";
entry.head = "{{pl-participle|cadv}}";
entry.def = entry.make_def("ကြိယာအပြံၚ်အလှာဲမဆေၚ်စပ်ကဵုဝေါဟာ", "||contemporary|adverbial|part");
elseif params.form:find("passive adjectival participle$") and (params.pos == "ကြိယာ") then
entry.pos_header = "လုပ်ကၠောန်စွံလဝ်";
entry.head = "{{pl-participle|pass}}";
local _, _, form = params.form:find("(.-)|passive adjectival participle$");
if form == nil or form == "m|s" or form == "s|m" then
entry.def = entry.make_def("ကြိယာအပြံၚ်အလှာဲမဆေၚ်စပ်ကဵုဝေါဟာ", "||m|s|pasv|adjectival|part");
entry.declension = "{{pl-adecl}}";
else
entry.def = entry.make_def("ကြိယာအပြံၚ်အလှာဲမဆေၚ်စပ်ကဵုဝေါဟာ", "||" .. form);
end
elseif params.form:find("active adjectival participle$") and (params.pos == "ကြိယာ") then
entry.pos_header = "လုပ်ကၠောန်စွံလဝ်";
entry.head = "{{pl-participle|act}}";
local _, _, form = params.form:find("(.-)|active adjectival participle$");
if form == nil or form == "m|s" or form == "s|m" then
entry.def = entry.make_def("inflection of", "||actv|adj|part");
entry.declension = "{{pl-adecl}}";
else
entry.def = entry.make_def("ကြိယာအပြံၚ်အလှာဲမဆေၚ်စပ်ကဵုဝေါဟာ", "||" .. form);
end
end
end
};