Module:rad-pronunciation: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 72: Line 72:
            else
            else
                table.insert(rhymes, pos, rhyme)
                table.insert(rhymes, pos, rhyme)
                pos = pos + 1
            end
            end
        -- mw.log("Rhyme registered: " .. rhyme)
        -- mw.log("Rhyme registered: " .. rhyme)
        end
        end
         end
         end
        if pos then
insert_to_rhymes(m_rad_IPA.get_rhyme(input))
    insert_to_rhymes(m_rad_IPA.get_weak_rhyme(input))
for _, weak_rhyme in ipairs(m_rad_IPA.get_weak_rhyme(input)) do
    insert_to_rhymes(m_rad_IPA.get_rhyme(input))
insert_to_rhymes(weak_rhyme)
    else
insert_to_rhymes(m_rad_IPA.get_rhyme(input))
insert_to_rhymes(m_rad_IPA.get_weak_rhyme(input))
end
end
     end
     end

Navigation menu