Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
m
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
mNo edit summary
mNo edit summary
Line 1: Line 1:
local export = {}
local getArgs = require('Module:Arguments').getArgs
local p = {}


local data = {
local data = {
Line 119: Line 120:


local IPA = {}
local IPA = {}
local s = ""


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


local getArgs = require('Module:Arguments').getArgs
function p.generate(frame)
 
function export.generate(frame)
local args = getArgs(frame)
local args = getArgs(frame)
return generate_IPA(args[1])
return generate_IPA(args[1])
end
end


return export
return p

Navigation menu