Modifiche

⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Modulo:Fan-pronunciation

1 byte aggiunto, 07:34, 23 dic 2018
nessun oggetto della modifica
Riga 22: Riga 22:  
--sč at the end of a word is /ʃ/
 
--sč at the end of a word is /ʃ/
 
           word = word:gsub("sč","ʃ")
 
           word = word:gsub("sč","ʃ")
 +
        end
 +
        if mw.ustring.find(word,"č") then
 +
          word = mw.ustring.toNFC(word)
 +
--sč at the end of a word is /ʧ/
 +
          word = word:gsub("č","ʧ")
 
         end
 
         end
 
         if mw.ustring.find(word,"â") then
 
         if mw.ustring.find(word,"â") then
Riga 67: Riga 72:  
               decomposed=mw.ustring.gsub(decomposed,"(".. vowel ..")(" .. not_vowel .. "*)$",'%1' ..mw.ustring.char(0x301).. '%2')
 
               decomposed=mw.ustring.gsub(decomposed,"(".. vowel ..")(" .. not_vowel .. "*)$",'%1' ..mw.ustring.char(0x301).. '%2')
 
          
 
          
           
  −
  −
              --else
  −
              --decomposed=mw.ustring.gsub(decomposed,"(".. vowel ..")(" .. not_vowel .. "*)$",'%1'..mw.ustring.char(0x301)..%2')
   
    end
 
    end
 
       end
 
       end
Riga 285: Riga 286:  
"([kg])(" .. front .. ")",
 
"([kg])(" .. front .. ")",
 
"%1" .. fronted .. "%2")
 
"%1" .. fronted .. "%2")
:gsub("a", "ä")
+
:gsub("a", "a")
 
:gsub("n", "n̺") -- Converts n before a consonant, which is incorrect.
 
:gsub("n", "n̺") -- Converts n before a consonant, which is incorrect.
 
 

Menu di navigazione