10,794
edits
TheNightAvl (talk | contribs) mNo edit summary |
TheNightAvl (talk | contribs) m (Fixed hiatus marker appear next to stress marker) |
||
Line 1,357: | Line 1,357: | ||
-- add hiatus marker -- | -- add hiatus marker -- | ||
if syllables[i+1] then | if syllables[i+1] then | ||
if syllables[i]["coda"] == nil and marked_hiatus[syllables[i]["nucleus"]] and syllables[i+1]["onset"] == nil and type(syllables[i+1]) == "table" then | if syllables[i]["coda"] == nil and marked_hiatus[syllables[i]["nucleus"]] and syllables[i+1]["onset"] == nil and type(syllables[i+1]) == "table" and syllables[i+1]["stress"] == false and syllables[i+1]["stress2"] == false then | ||
syllables[i]["coda"] = {"."} | syllables[i]["coda"] = {"."} | ||
mw.log("Hiatus marked between syllables " .. i .. " and " .. i+1 .. ".") | mw.log("Hiatus marked between syllables " .. i .. " and " .. i+1 .. ".") |