Modifiche

⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Modulo:It-pronunciation

79 byte rimossi, 08:08, 26 dic 2018
nessun oggetto della modifica
Riga 1: Riga 1:  
local export = {}
 
local export = {}
 
+
local k=" "
 
local stress = "ˈ"
 
local stress = "ˈ"
 
local long = "ː"
 
local long = "ː"
Riga 31: Riga 31:  
         word = mw.ustring.toNFC(word)
 
         word = mw.ustring.toNFC(word)
 
--â at the end of a word is /a/
 
--â at the end of a word is /a/
         word = word:gsub("â","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
Riga 73: Riga 77:  
          
 
          
 
    end
 
    end
        if mw.ustring.find(decomposed,"â") then
+
 
          decomposed = mw.ustring.toNFC(decomposed)
  −
-- â at the end of a decomposed is /a/
  −
          decomposed = decomposed:gsub("â","a")
  −
        end
   
       end
 
       end
 
 

Menu di navigazione