45,345
edits
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
function spat(c) | function spat(c) | ||
return "(·?ˈ | return "(·?ˈ[mnɲŋpbtdcɟkɡʔvðsɕxɣhʨʥrlɬłⱡʣjwʦ⁽ʰ⁾ʔːƀꝺđꬶɉ]*"..UNR.."?"..vowel..")" .. c .. "([^ː])" | ||
end | end | ||
Line 151: | Line 151: | ||
local rules2 = { | local rules2 = { | ||
-- stressed consonants (coda of stressed syllables without long vowels, diphthongs, or triphthongs) | -- stressed consonants (coda of stressed syllables without long vowels, diphthongs, or triphthongs) | ||
{spat("h"), "% | {spat("h"), "%1ʔ%2"}, {spat("ꬶ"), "%1k%2"}, {spat("ƀ"), "%1p%2"}, | ||
{spat("đ"), "% | {spat("đ"), "%1t%2"}, {spat("ꝺ"), "%1d%2"}, {spat("ɣ"), "%1ɉ%2"}, | ||
-- internal consonant clusters | -- internal consonant clusters | ||
Line 190: | Line 190: | ||
--undo ligatures | --undo ligatures | ||
{"ʨ", "t͡ɕ"}, {"ʥ", "d͡ʑ"}, {"ⱡ", "tɬ"}, {"ʣ", "d͡z"}, {"ʦ", "t͡s"}, | {"ʨ", "t͡ɕ"}, {"ʥ", "d͡ʑ"}, {"ⱡ", "tɬ"}, {"ʣ", "d͡z"}, {"ʦ", "t͡s"}, | ||
{"ƀ", "p"}, {"ꝺ", "d"}, {"đ", " | {"ƀ", "p"}, {"ꝺ", "d"}, {"đ", "d"}, {"ꬶ", "ɡ"}, {"õ", "ɔ̃"}, | ||
{"ṁ", "m̥"}, {"ṅ", "n̥"}, {"ħ", "h"}, {"ɡ⁽", "k⁽"}, | {"ṁ", "m̥"}, {"ṅ", "n̥"}, {"ħ", "h"}, {"ɡ⁽", "k⁽"}, | ||