Module:rad-IPA: Difference between revisions

Jump to navigation Jump to search
ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 109: Line 109:
     ["þ"] = "θ",
     ["þ"] = "θ",
     ["·"] = "·",
     ["·"] = "·",
     ["-"] = "'",
     ["-"] = "-",
     [" "] = " ",
     [" "] = " ",
     ["."] = "|",
     ["."] = "|",
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 output[#output] == "-" or syllables[1] == "·" then -- check if following - or preceding ·
                         if --[[output[#output] == "-" or]] syllables[1] == "·" then -- check if (following - or) preceding ·
                        -- HYPHEN NO LONGER CAUSES SECONDARY STRESS
                             -- 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

Navigation menu