10,731
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) mNo edit summary |
||
Line 286: | Line 286: | ||
elseif vowel[p_prev] and p_current == "u" then | elseif vowel[p_prev] and p_current == "u" then | ||
p_resolve("u̯") | p_resolve("u̯") | ||
end | |||
-- stress -- | |||
if boundary[p_prev] or p_prev == nil then | |||
p_resolve("ˈ" .. p_current) | |||
end | end | ||
Line 295: | Line 300: | ||
working_IPA = table.concat(working_IPA) | working_IPA = table.concat(working_IPA) | ||
-- /xd/ -- | if phon then | ||
-- /xd/ -- | |||
if mw.ustring.find(working_IPA, "(xd)") then | |||
working_IPA = mw.ustring.gsub(working_IPA, "(xd)", "hd") .. "~" .. mw.ustring.gsub(working_IPA, "(xd)", "ɦd") | |||
end | |||
end | end | ||
Line 341: | Line 349: | ||
--[[ | --[[ | ||
Debug console test string: | Debug console test string: | ||
=p.generate(mw.getCurrentFrame():newChild{title="whatever",args={" | =p.generate(mw.getCurrentFrame():newChild{title="whatever",args={"kwilliehda", "phon"}}) | ||
]] | ]] |