Module:kilta-pron: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 13: Line 13:
local m_IPA = require("Module:IPA")
local m_IPA = require("Module:IPA")


local consonants = "[pβmtsnɾlʧkxʷqƕᵷʤɡbvdː]"
local consonants = "[pβmtsnɾlʧkxʷqhyʤɡbvdː]"
local vowels = "[aeiouáéíóúəïüʔ]"
local vowels = "[aeiouáéíóúəïüʔ]"


Line 37: Line 37:
local phonemic_rules = {
local phonemic_rules = {
{"%-$", ""}, {"%-", " "},
{"%-$", ""}, {"%-", " "},
{"hw", "ƕ"}, {"kw", "q"}, {"ch", "ʧ"}, {"au", "ü"}, {"ai", "ï"},
{"h", "x"}, {"hw", "h"}, {"kw", "q"}, {"ch", "ʧ"}, {"au", "ü"}, {"ai", "ï"},
{"v", "β"}, {"r", "ɾ"}, {"h", "x"},
{"v", "β"}, {"r", "ɾ"},  
{"ë", "ə"}, {"ëë+", "əː"}, --
{"ë", "ə"}, {"ëë+", "əː"}, --
Line 49: Line 49:
{"a(ː?·?ˈ?)([nm])", "æ%1%2"},
{"a(ː?·?ˈ?)([nm])", "æ%1%2"},
{"n(ː?·?ˈ?)([kxqƕ])", "ŋ%1%2"},
{"n(ː?·?ˈ?)([kxqƕ])", "ŋ%1%2"},
{"([nm])·k", "%1·ɡ"}, {"([nm])·q", "%1·ᵷ"}, {"([nm])·p", "%1·b"}, {"([nm])·ʧ", "%1·ʤ"},
{"([nm])·k", "%1·ɡ"}, {"([nm])·q", "%1·y"}, {"([nm])·p", "%1·b"}, {"([nm])·ʧ", "%1·ʤ"},
{"([nm])·t", "%1·d"},  
{"([nm])·t", "%1·d"},  
{"([nm])(ː?·?ˈ?)β", "%1%2b"},
{"([nm])(ː?·?ˈ?)β", "%1%2b"},
Line 57: Line 57:


local last_rules = {
local last_rules = {
{"q", "kʷ"}, {"ƕ", "xʷ"}, {"", "ɡʷ"},
{"q", "kʷ"}, {"h", "xʷ"}, {"y", "ɡʷ"},
{"ʧ", "t͡ʃ"},
{"ʧ", "t͡ʃ"},
{"ʤ", "d͡ʒ"},
{"ʤ", "d͡ʒ"},