45,647
edits
No edit summary |
No edit summary |
||
Line 224: | Line 224: | ||
end | end | ||
function export.syll_count( | function export.syll_count(frame) | ||
term = export.crux( | local term = export.crux(mw.title.getCurrentTitle().title) | ||
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 .. "*)" |