มอดูล:form of/lang-data/en
หน้าตา
- The following documentation is generated by Module:documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
This module contains language-specific form-of data (tags, shortcuts, base lemma params. etc.) for อังกฤษ.
NOTE: If you add a new language-specific module, you must add the language code to the list at the top of Module:form of in order for the module to be recognized.
--[=[
This module contains lang-specific tags for English.
]=]
local tags = {}
local shortcuts = {}
shortcuts["ed-form"] = {"spast", "and", "past", "part"}
shortcuts["ing-form"] = {"pres", "part", "and", "ger"}
-- เปลี่ยนลำดับตามคำแปลไทย
shortcuts["s-verb-form"] = {"spres", "s", "3", "ind"}
shortcuts["st-form"] = {"spres", "s", "2-st", "ind"}
shortcuts["st-past-form"] = {"spast", "s", "2-st", "ind"}
shortcuts["th-form"] = {"spres", "s", "3-th", "ind"}
----------------------- Person -----------------------
-- These tags exist so we can add appropriate 'archaic FOO' labels in [[Module:form of/cats]].
tags["บุรุษที่สอง (-st)"] = {
tag_type = "person",
display = "[[Appendix:Glossary#second person|second-person]]",
shortcuts = {"2-st", "second-person (-st)"},
}
tags["บุรุษที่สาม (-th)"] = {
tag_type = "person",
display = "[[Appendix:Glossary#third person|third-person]]",
shortcuts = {"3-th", "third-person (-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}