Module:rhymes: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 2: Line 2:
local getArgs = require("Module:Arguments").getArgs
local getArgs = require("Module:Arguments").getArgs


local m_links = require("Module:links")
local m_languages = require("Module:languages")
local m_languages = require("Module:languages")


Line 62: Line 61:
for i, rhyme in ipairs(args) do
for i, rhyme in ipairs(args) do
if i > 1 then
if i > 1 then
rhyme = require("Module:IPA").get_SAMPAd(rhyme)
rhyme = mw.ustring.gsub(rhyme, "[%/%[%]]", "")
rhyme = mw.ustring.gsub(rhyme, "[%/%[%]]", "")
local rhyme2
local rhyme2