Module:Data/POS: Difference between revisions

From Annwan’s Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
local def, _a do local _u = require("Module:Utils") def, _a = _u._a, _u.def end
return {
return {
n = "Nouns",
n = "Nouns",
Line 11: Line 12:
cl = "Clitics",
cl = "Clitics",
ppn = "Proper Nouns",
ppn = "Proper Nouns",
_get = function (x) return require("Module:Data/POS")[x] or "" end
_get = function (x) return def(require("Module:Data/POS")[_a(x)], "") end
}
}

Revision as of 08:49, 15 April 2025

Part of Speech data for the dictionary


local def, _a do local _u = require("Module:Utils") def, _a = _u._a, _u.def end
return {
	n = "Nouns",
	v = "Verbs",
	adj = "Adjectives",
	adv = "Adverbs",
	aff = "Affixes",
	adp = "Adpositions",
	conj = "Conjunctions",
	part = "Particles",
	intj = "Interjections",
	cl = "Clitics",
	ppn = "Proper Nouns",
	_get = function (x) return def(require("Module:Data/POS")[_a(x)], "") end
}