Module:siwa-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 225: Line 225:


function export.syll_count(frame)
function export.syll_count(frame)
local term = export.crux("tsammi")
local term = export.crux(frame.args[1])
local xc = "[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłʣjwʦ⁽ʰ⁾ʔːƀꝺđɣꬶɉ"..UNRELEASED.."]"
local xc = "[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłʣjwʦ⁽ʰ⁾ʔːƀꝺđɣꬶɉ"..UNRELEASED.."]"
local pattern = "(" .. xc .. "?" .. vowel .. "+ː?" .. xc .. "*)"
local pattern = "(" .. xc .. "?" .. vowel .. "+ː?" .. xc .. "*)"