Module:rad-pronunciation: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 80: Line 80:
insert_to_rhymes(m_rad_IPA.get_rhyme(input))
insert_to_rhymes(m_rad_IPA.get_rhyme(input))
local weak_rhymes = m_rad_IPA.get_weak_rhyme(input)
local weak_rhymes = m_rad_IPA.get_weak_rhyme(input)
if weak_rhymes ~= nil then
if weak_rhymes ~= nil and type(weak_rhymes) == "table" then
for _, weak_rhyme in ipairs(weak_rhymes) do
for _, weak_rhyme in ipairs(weak_rhymes) do
insert_to_rhymes(weak_rhyme)
insert_to_rhymes(weak_rhyme)