Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
m
Made get_rhyme exportable
(Added apostrophe removal)
m (Made get_rhyme exportable)
Line 1,422: Line 1,422:
end
end


function get_rhyme(IPA)
function export.get_rhyme(IPA)
if mw.ustring.match(IPA, "([ %|])") then
if mw.ustring.match(IPA, "([ %|])") then
return nil
return nil
Line 1,463: Line 1,463:
if parameters["rhyme"] then
if parameters["rhyme"] then
outputIPA = get_rhyme(outputIPA)
outputIPA = export.get_rhyme(outputIPA)
end
end

Navigation menu