此模块包含英語的之形式資料(標籤、捷徑、基本詞元參數等)。

注意:如果您新增了特定語言的之形式模块,請將語言代碼新增至 Module:form of 頂部的清單中,使程式碼能識別該模块。


--[=[
This module contains lang-specific tags for English.
]=]

local tags = {}
local shortcuts = {}
shortcuts["ed-form"] = {"spast", "和", "past", "part"}
shortcuts["ing-form"] = {"pres", "part", "和", "ger"}
shortcuts["s-verb-form"] = {"3", "s", "spres", "ind"}
shortcuts["st-form"] = {"2-st", "s", "spres", "ind"}
shortcuts["st-past-form"] = {"2-st", "s", "spast", "ind"}
shortcuts["th-form"] = {"3-th", "s", "spres", "ind"}

----------------------- Person -----------------------

-- These tags exist so we can add appropriate 'archaic FOO' labels in [[Module:form of/cats]].
tags["second-person (-st)"] = {
	tag_type = "person",
	display = "[[Appendix:Glossary#第二人稱|第二人稱]]",
	shortcuts = {"2-st"},
}

tags["third-person (-th)"] = {
	tag_type = "person",
	display = "[[Appendix:Glossary#第三人稱|第三人稱]]",
	shortcuts = {"3-th"},
}

----------------------- Create the shortcuts list -----------------------

for name, data in pairs(tags) do
	if data.shortcuts then
		for _, shortcut in ipairs(data.shortcuts) do
			shortcuts[shortcut] = name
		end
	end
end

return {tags = tags, shortcuts = shortcuts}