Module:User:JeffDoozan/export-verb

Hello, you have come here looking for the meaning of the word Module:User:JeffDoozan/export-verb. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:JeffDoozan/export-verb, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:JeffDoozan/export-verb in singular and plural. Everything you need to know about the word Module:User:JeffDoozan/export-verb you have here. The definition of the word Module:User:JeffDoozan/export-verb will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:JeffDoozan/export-verb, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local export = {}

local iut = require("Module:inflection utilities")

-- Concatenate all forms of all slots into a single string of the form
-- "SLOT=FORM,FORM,...|SLOT=FORM,FORM,...|...". Embedded pipe symbols (as might occur
-- in embedded links) are converted to <!>. If INCLUDE_PROPS is given, also include
-- additional properties (currently, none). This is for use by bots.
local function concat_forms(alternant_multiword_spec, include_props)
	local ins_text = {}
	for _, slot_and_accel in ipairs(all_verb_slots) do
		local slot = slot_and_accel
		local formtext = iut.concat_forms_in_slot(alternant_multiword_spec.forms)
		if formtext then
			table.insert(ins_text, slot .. "=" .. formtext)
		end
	end
	return table.concat(ins_text, "|")
end

-- Template-callable function to parse and conjugate a verb given user-specified arguments and return
-- the forms as a string "SLOT=FORM,FORM,...|SLOT=FORM,FORM,...|...". Embedded pipe symbols (as might
-- occur in embedded links) are converted to <!>. If |include_props=1 is given, also include
-- additional properties (currently, none). This is for use by bots.
function export.generate_forms(frame)
	local include_props = frame.args
	local parent_args = frame:getParent().args

    return require("Module:User:JeffDoozan/es-verb").do_generate_forms(parent_args)

    --local alternant_multiword_spec = require("Module:es-verb").do_generate_forms(parent_args)
	--return concat_forms(alternant_multiword_spec, include_props)
end

return export