มอดูล:form of/lang-data/lv
หน้าตา
- 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 Latvian.
]=]
local tags = {}
local shortcuts = {}
----------------------- Non-finite -----------------------
-- Latvian adverbial participle types; I can't find any Wiktionary or Wikipedia glossary entries that are relevant
tags["object of perception"] = {
display = "object-of-perception",
tag_type = "non-finite",
shortcuts = {"objper"},
}
tags["invariable"] = {
tag_type = "non-finite",
shortcuts = {"invar"},
}
tags["variable"] = {
tag_type = "non-finite",
shortcuts = {"var"},
}
----------------------- 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}