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