10,794
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 1,485: | Line 1,485: | ||
function export.get_rhyme(IPA) | function export.get_rhyme(IPA) | ||
if mw.ustring. | if mw.ustring.find(IPA, "([ %|])") then | ||
return nil | return nil | ||
end | end | ||
if mw.ustring. | if mw.ustring.find(IPA, "(ˈ)") then | ||
IPA = mw.ustring.gsub(IPA, "(ˌ)", "") | IPA = mw.ustring.gsub(IPA, "(ˌ)", "") | ||
IPA = mw.ustring.gsub(IPA, "^(.*ˈ)", "") | IPA = mw.ustring.gsub(IPA, "^(.*ˈ)", "") |