跳转到内容

模組:Form of/lang-data/lv

維基詞典,自由的多語言詞典

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

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


--[=[
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 = "感知對象",
	tag_type = "non-finite",
	shortcuts = {"objper"},
}

tags["invariable"] = {
	display = "無屈折",
	tag_type = "non-finite",
	shortcuts = {"invar"},
}

tags["variable"] = {
	display = "屈折",
	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}