Module:rad-stem: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 243: Line 243:
end
end


function getNounStem(args) -- rad-inflection|pos|principle_part| 3 | 4 | 5
function export.getNounStem(args) -- rad-inflection|pos|principle_part| 3 | 4 | 5
local principle_parts = {
local principle_parts = {
["nom"] = "",
["nom"] = "",
Line 426: Line 426:
end
end


function getVerbStem(args)
function export.getVerbStem(args)


end
end
Line 446: Line 446:
 
 
if args[1] == "noun" then
if args[1] == "noun" then
mw.logObject(getNounStem(args))
to_Return = export.getNounStem(args)[args[2]]
to_Return = getNounStem(args)[args[2]]
elseif args[1] == "verb" then
elseif args[1] == "verb" then
mw.logObject(getVerbStem(args))
to_Return = export.getVerbStem(args)[args[2]]
to_Return = getVerbStem(args)[args[2]]
end
end

Navigation menu