10,794
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 1,554: | Line 1,554: | ||
working_word[syl]["stress"] = true | working_word[syl]["stress"] = true | ||
elseif #working_word > 1 then -- if monosyllabic, do not add a redundant stress mark | elseif #working_word > 1 then -- if monosyllabic, do not add a redundant stress mark | ||
if | if output[#output] == "-" then | ||
-- HYPHEN NO LONGER CAUSES SECONDARY STRESS | -- HYPHEN NO LONGER CAUSES SECONDARY STRESS | ||
elseif syllables[1] == "·" then -- check if preceding · | |||
-- mw.log("Secondary stress assigned to syllable " .. syl .. ".") | -- mw.log("Secondary stress assigned to syllable " .. syl .. ".") | ||
working_word[syl]["stress2"] = true | working_word[syl]["stress2"] = true |