Module:snon-mut: Difference between revisions
No edit summary |
No edit summary |
||
| Line 11: | Line 11: | ||
local export = {} | local export = {} | ||
local words = mw.text.split("hello world hi", "%s") | |||
local first = table.remove(words, 1) | |||
local ords = words | |||
function export.mutations(ret, args) | function export.mutations(ret, args) | ||
| Line 20: | Line 25: | ||
local vowels = "([aeiouàèìòù])" | local vowels = "([aeiouàèìòù])" | ||
local apostrophe | local apostrophe | ||
words = " " | |||
words[1] = " " | |||
words = table.concat(words, " ") | |||
if args.len then | if args.len then | ||