Module:siwa-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
local m_sm = mw.loadData("Module:siwa-pron/data")
local m_sm = mw.loadData("Module:siwa-pron/data")
local m_n = require("Module:siwa-noun")


local sub = mw.ustring.sub
local sub = mw.ustring.sub
Line 55: Line 56:
for i, m in ipairs(pss) do
for i, m in ipairs(pss) do
if m_sm.suffix[m] and gmatch(table.concat(pss),"[ˈˌ]") then
if m_n.syll_count(word) == 1 then break
elseif m_sm.suffix[m] and gmatch(table.concat(pss),"[ˈˌ]") then
elseif m_sm.prefix[m] then
elseif m_sm.prefix[m] then
pss[i] = "ˌ" .. pss[i]
pss[i] = "ˌ" .. pss[i]

Navigation menu