10,794
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) (Added affix accommodation) |
||
Line 1,568: | Line 1,568: | ||
outputIPA = mw.ustring.gsub(outputIPA, "(% %;)", " ") | outputIPA = mw.ustring.gsub(outputIPA, "(% %;)", " ") | ||
local is_prefix = mw.ustring.sub(outputIPA, -1) == "-" or mw.ustring.sub(outputIPA, -1) == "·" | |||
local is_suffix = mw.ustring.sub(outputIPA, 1, 1) == "-" | |||
outputIPA = generate_IPA(outputIPA) | outputIPA = generate_IPA(outputIPA) | ||
outputIPA = resolve_vowels(outputIPA) | outputIPA = resolve_vowels(outputIPA) | ||
Line 1,587: | Line 1,591: | ||
else | else | ||
if is_prefix then | |||
outputIPA = outputIPA .. "-" | |||
end | |||
if is_suffix then | |||
outputIPA = "-" .. outputIPA | |||
end | |||
local nolarge = "" | local nolarge = "" |