10,794
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
local | local getArgs = require('Module:Arguments').getArgs | ||
local p = {} | |||
local data = { | local data = { | ||
Line 119: | Line 120: | ||
local IPA = {} | local IPA = {} | ||
function generate_IPA(s | function generate_IPA(word) | ||
local s = word | |||
local s_len = mw.ustring.len(s) | local s_len = mw.ustring.len(s) | ||
IPA = {} | IPA = {} | ||
Line 229: | Line 230: | ||
end | end | ||
function p.generate(frame) | |||
function | |||
local args = getArgs(frame) | local args = getArgs(frame) | ||
return generate_IPA(args[1]) | return generate_IPA(args[1]) | ||
end | end | ||
return | return p |