48,406
edits
No edit summary |
No edit summary |
||
| Line 122: | Line 122: | ||
function export.harmony(term) | function export.harmony(term) | ||
local roundness | local ret = { | ||
["roundness"] = ((not term:match("о" .. c.macron .. "?" .. c.breve) and term:match("[үуӯюөоё]")) or term:match("е" .. c.macron .. c.diaer)) and "r" | |||
or term:match("[ыиӣэе]") and "u" or "ar", | |||
["backness"] = term:match("э") and "f" or term:match("о" .. c.macron .. "?" .. c.breve) and "b" or "ab", | |||
} | |||
return ret | |||
end | |||
end | |||
function separate_word(term) | function separate_word(term) | ||