Module:form of/lang-data/en

From Wiktionary, the free dictionary
Jump to navigation Jump to search

This module contains language-specific form-of data (tags, shortcuts, base lemma params. etc.) for English.

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 m_form_of = require("Module:form of")

local APPENDIX = m_form_of.APPENDIX
local WP = m_form_of.WP
local WIKT = m_form_of.WIKT

local tags = {}
local shortcuts = {}

shortcuts["ed-form"] = {"spast", "and", "past", "part"}
shortcuts["ing-form"] = {"pres", "part", "and", "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)"] = {
	"person",
	nil,
	"2-st",
	display = "[[Appendix:Glossary#second person|second-person]]",
}

tags["third-person (-th)"] = {
	"person",
	nil,
	"3-th",
	display = "[[Appendix:Glossary#third person|third-person]]",
}

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

m_form_of.finalize_tag_data(tags, shortcuts)

return {tags = tags, shortcuts = shortcuts}