This module contains new entry creation rules for Bikol Central; see WT:ACCEL for an overview, and Module:accel for information on creating new rules.
return {generate = function (params, entry)
-- Check native script first
if params.form == "Basahan" then
local pos_with_head_template = {
noun = "noun",
= "proper noun",
verb = "verb",
adjective = "adj",
adverb = "adv",
}
if pos_with_head_template ~= nil then
entry.head = "{{bcl-" .. pos_with_head_template .."}}"
else
entry.head = "{{bcl-head|" .. params.pos .."}}"
end
entry.def = "{{bcl-basahan|" .. params.origin .. "}}"
else
entry.head = "{{bcl-head|" .. params.pos .." form|b=+}}"
if params.pos == "verb" then
entry.def = "{{verb form of|bcl|" .. params.origin .. "||" .. params.form .. "}}"
end
end
end}