Module:anui-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 26: Line 26:
word = word:gsub("([aeiouàèìòù])ᴍ([aeiou])", "%1m%2")]]
word = word:gsub("([aeiouàèìòù])ᴍ([aeiou])", "%1m%2")]]
word = word:gsub("mʼm", "ṵʼũ"); word = word:gsub("(" .. vowel .. ")m", "%1ũ")
word = word:gsub("mʼm", "v"); word = word:gsub("(" .. vowel .. ")m", "%1ũ")
return word
return word
Line 44: Line 44:
local fricative = match(C, "[sšṣɬ][ʇǃǂǁʘ]") ~= nil
local fricative = match(C, "[sšṣɬ][ʇǃǂǁʘ]") ~= nil
local nasal = match(C, "ɴ") ~= nil
local nasal = match(C, "ɴ") ~= nil
local glottal = match(C, "[ʇǃǂǁʘṭcɬq]?ʼ[^ũ]") ~= nil
local glottal = match(C, "[ʇǃǂǁʘṭcɬq]?ʼ") ~= nil
local uvular = match(C, "x") ~= nil
local uvular = match(C, "x") ~= nil
Line 52: Line 52:
word = word: gsub("ṵʼũ", "mʼm"); word = word:gsub("ũ", "m")
word = word: gsub("v", "mʼm"); word = word:gsub("ũ", "m")
return word
return word

Navigation menu