Module:ka-adj
Appearance
- The following documentation is located at Module:ka-adj/documentation. [edit] Categories were auto-generated by Module:module categorization. [edit]
- Useful links: subpage list • links • transclusions • testcases • sandbox
local export = {}
function export.retErgative(arguments)
word = arguments.args[1]
stem = arguments.args[1]
if mw.ustring.sub(word, -1) == [[ი]] then
stem = mw.ustring.sub(word, 0, -2).."მა"
end
return stem
end
function export.retDative(arguments)
word = arguments.args[1]
stem = arguments.args[1]
if mw.ustring.sub(word, -1) == [[ი]] then
stem = mw.ustring.sub(word, 0, -2)
end
return stem
end
function export.retVocative(arguments)
word = arguments.args[1]
stem = arguments.args[1]
if mw.ustring.sub(word, -1) == [[ი]] then
stem = mw.ustring.sub(word, 0, -2).."ო"
end
return stem
end
return export