48,406
edits
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
local nb_cons = "mnŋɲptbdkɡfvszʃʒxɣhʧʦʤʣlrɾʎ" | local nb_cons = "mnŋɲptbdkɡfvszʃʒxɣhʧʦʤʣlrɾʎ" | ||
local consonants = "[" .. nb_cons .. "]" | local consonants = "[" .. nb_cons .. "]" | ||
local consonantsAsIs = "[мньӈбдгвзжғлрйпткфсшӀчц]" | |||
local vowels = "[ыиэеаяүөуюоёӯӣɜɔ]" | local vowels = "[ыиэеаяүөуюоёӯӣɜɔ]" | ||
| Line 124: | Line 126: | ||
if exception then | if exception then | ||
termR = term:gsub(neutralR, ""); termB = term:gsub(neutralB, "") | termR = term:gsub(neutralR, ""); termB = term:gsub(neutralB, "") | ||
termR = termR:match("(".. vowels .. | termR = termR:match("(".. vowels .. consonantsAsIs .. "*)$") or termR; termB = termB:match("(" .. vowels .. consonants .. "*)$") or termB | ||
end | end | ||