45,646
edits
No edit summary |
No edit summary |
||
Line 46: | Line 46: | ||
local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},} | local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},} | ||
local w = split(word, " ") | local w = split(word, "%s") | ||
if pl[1] == '-' then | if pl[1] == '-' then | ||
Line 61: | Line 61: | ||
table.insert(data.inflections, pl) | table.insert(data.inflections, pl) | ||
else | else | ||
table.insert(data.inflections, plural(w[ | table.insert(data.inflections, plural(w[1])) | ||
end | end | ||
end | end |