Module:kilta-pron: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 14: Line 14:
local m_IPA = require("Module:IPA")
local m_IPA = require("Module:IPA")


local consonants = "[pβmtsnɾlʧkxʷʞƕː]"
local consonants = "[pβmtsnɾlʧkxʷʞƕᵷʤɡbvdː]"
local vowels = "[aeiouəꜷꜽː]"
local vowels = "[aeiouəꜷꜽː]"


Line 26: Line 26:


local phonemic_rules = {
local phonemic_rules = {
{"%-", ""}, {"hw", "ƕ"}, {"kw", "ʞ"}, {"ch", "ʧ"}, {"au", "ꜷ"}, {"ai", "ꜽ"},
{"%-$", ""}, {"%-", " "},
{"hw", "ƕ"}, {"kw", "ʞ"}, {"ch", "ʧ"}, {"au", "ꜷ"}, {"ai", "ꜽ"},
{"v", "β"}, {"r", "ɾ"}, {"h", "x"},
{"v", "β"}, {"r", "ɾ"}, {"h", "x"},
Line 36: Line 37:


local phonetic_rules = {
local phonetic_rules = {
{"á", "a"}, {"", ""}, {"", ""}, {"", ""},
{"a(ː?·?ˈ?)([nm])", "æ%1%2"},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},
{"n(ː?·?ˈ?)([kxʞƕ])", "ŋ%1%2"},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"([nm])·k", "%1·ɡ"}, {"([nm])·ʞ", "%1·ᵷ"}, {"([nm])·p", "%1·b"}, {"([nm])·ʧ", "%1·ʤ"},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},
{"([nm])·t", "%1·d"},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"([nm])(ː?·?ˈ?)β", "%1%2b"},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"β([ie])", "v%1"},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"^(ˈ?)(" .. vowels .. ")", "%1ʔ%2"},
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
{"", ""}, {"", ""}, {"", ""}, {"", ""}, {"", ""},  
}
}


local last_rules = {
local last_rules = {
{"ʞ", "kʷ"}, {"ƕ", "xʷ"}, {"ʧ", "t͡ʃ"},
{"ʞ", "kʷ"}, {"ƕ", "xʷ"}, {"ᵷ", "ɡʷ"},
{"ꜷ", "au"}, {"ꜽ", "ai"}, {"[·%.]ˈ", "ˈ"}, {"·", "."},
{"ʧ", "t͡ʃ"},
{"ʤ", "d͡ʒ"},
{"ꜷ", "au̯"},
{"ꜽ", "ai̯"},
{"[·%.]ˈ", "ˈ"}, {"·", "."},
}
}


Navigation menu