5 757
contributi
Modifiche
⧼vector-jumptonavigation⧽
⧼vector-jumptosearch⧽
Riga 1:
Riga 1:
− +
Riga 29:
Riga 29:
− word = mw.ustring.toNFC(word)+
− -- â at the end of a word is /a/+
− word = word:gsub("â","a")+
+
+
+
+
Riga 59:
Riga 63:
− --if transcriptio == 'a' then +
− -- decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" .. mw.ustring.char(0x301) .. "%2")+
− if transcriptio =='e' then +
Riga 73:
Riga 77:
+
nessun oggetto della modifica
local export = {}
local export = {}
local k=" "
local stress = "ˈ"
local stress = "ˈ"
local long = "ː"
local long = "ː"
end
end
if mw.ustring.find(word,"â") then
if mw.ustring.find(word,"â") then
word = mw.ustring.toNFC(word)
--â at the end of a word is /a/
if mw.ustring.match(word,"â.")==nil then
word=word:gsub("â","a ")
else
word=word:gsub("â","a")
end
end
end
if mw.ustring.find(word,"ğ") then
if mw.ustring.find(word,"ğ") then
--if vowel_count ~= 1 then
--if vowel_count ~= 1 then
transcriptio=mw.ustring.sub(decomposed,-1)
transcriptio=mw.ustring.sub(decomposed,-1)
if transcriptio == 'a' then
decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" .. mw.ustring.char(0x301) .. "%2")
--end
--end
elseif transcriptio =='e' then
decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" .. mw.ustring.char(0x301) .. "%2")
decomposed = mw.ustring.gsub(decomposed,"(" .. vowel .. ")(" .. not_vowel .. "*" .. vowel .. not_vowel .."*)$","%1" .. mw.ustring.char(0x301) .. "%2")
elseif transcriptio =='o' then
elseif transcriptio =='o' then
end
end
end
end