10,794
edits
TheNightAvl (talk | contribs) (Added apostrophe removal) |
TheNightAvl (talk | contribs) 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 | ||