Modifiche

⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

Modulo:It-pronunciation

38 byte rimossi, 08:08, 26 dic 2018
nessun oggetto della modifica
Riga 1: Riga 1:  
local export = {}
 
local export = {}
local k="%l"
+
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/
        end
+
        if mw.ustring.match(word,"â.")==nil then
        k=string.match(word,"â.")
  −
        if k=="â" then
   
           word=word:gsub("â","a ")
 
           word=word:gsub("â","a ")
        else
+
        else
         k=k:gsub("â","a")
+
         word=word:gsub("â","a")
         word = word:gsub("â.","k")
+
         end
 
         end
 
         end
 
         if mw.ustring.find(word,"ğ") then
 
         if mw.ustring.find(word,"ğ") then

Menu di navigazione