Hello, you have come here looking for the meaning of the word
Module:User:Vitalik/inflection-new. In DICTIOUS you will not only get to know all the dictionary meanings for the word
Module:User:Vitalik/inflection-new, but we will also tell you about its etymology, its characteristics and you will know how to say
Module:User:Vitalik/inflection-new in singular and plural. Everything you need to know about the word
Module:User:Vitalik/inflection-new you have here. The definition of the word
Module:User:Vitalik/inflection-new will help you to be more precise and correct when speaking or writing your texts. Knowing the definition of
Module:User:Vitalik/inflection-new, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
-- Inflection module v2.0.2
-- 2015-08-14
local dev_prefix = ''
dev_prefix = 'User:Vitalik/' -- comment this on active version
local export = {}
local u = require("Module:utils")
-- Function to load corresponding unit
local function load_unit(unit_name)
if unit_name == '' then
return nil
end
return require("Module:" .. dev_prefix .. "inflection-new/units/" .. unit_name);
end
-- This export function is used from testcases
function export.test(unit_name, base, args)
local unit = load_unit(unit_name)
return unit.forms(base, args)
end
-- This export function is used from templates
function export.get(frame)
local base = u.get_base()
local args = frame:getParent().args
local unit_name = frame.args
local unit = load_unit(unit_name)
if unit == nil then
return 'Error: Name of unit is absent'
end
return frame:expandTemplate{
title=unit.template(base, args),
args=unit.forms(base, args)
}
end
return export