# There is one little bit of _actual_ HTML in here: I've used for prenasalisation.
characters:
"+syllabic +resonant dorsal +high +front -round +ATR": 'i'
"+syllabic +resonant dorsal +high +front +round +ATR": 'y'
"+syllabic +resonant dorsal +high -front -back -round +ATR": 'ɨ'
"+syllabic +resonant dorsal +high -front -back +round +ATR": 'ʉ'
"+syllabic +resonant dorsal +high +back -round +ATR": 'ɯ'
"+syllabic +resonant dorsal +high +back +round +ATR": 'u'
"+resonant dorsal +high +front -round -ATR": 'ɪ'
"+resonant dorsal +high +front +round -ATR": 'ʏ'
"+resonant dorsal +high -front -back -round -ATR": 'ɪ̈'
"+resonant dorsal +high -front -back +round -ATR": 'ʊ̈'
"+resonant dorsal +high +back -round -ATR": 'ʊ̜'
"+resonant dorsal +high +back +round -ATR": 'ʊ'
"+resonant dorsal -high -low +front -round +ATR -tap_or_trill": 'e'
"+resonant dorsal -high -low +front +round +ATR -tap_or_trill": 'ø'
"+resonant dorsal -high -low -front -back -round +ATR -tap_or_trill": 'ɘ'
"+resonant dorsal -high -low -front -back +round +ATR -tap_or_trill": 'ɵ'
"+resonant dorsal -high -low +back -round +ATR -tap_or_trill": 'ɤ'
"+resonant dorsal -high -low +back +round +ATR -tap_or_trill": 'o'
"+resonant dorsal -high -low +front -round -ATR -tap_or_trill": 'ɛ'
"+resonant dorsal -high -low +front +round -ATR -tap_or_trill": 'œ'
"+resonant dorsal -high -low -front -back -round -ATR -tap_or_trill": 'ɜ'
"+resonant dorsal -high -low -front -back +round -ATR -tap_or_trill": 'ɞ'
"+resonant dorsal -high -low +back -round -ATR -tap_or_trill": 'ʌ'
"+resonant dorsal -high -low +back +round -ATR -tap_or_trill": 'ɔ'
# We use /&/ for a front and /a/ a central vowel.
# I'm accordingly not sure where to put /&\/, so I do without.
"+resonant dorsal +low +front -round -ATR": 'æ'
"+resonant dorsal +low +front +round -ATR": 'æ̹'
"+resonant dorsal +low -front -back -round -ATR": 'a'
"+resonant dorsal +low -front -back +round -ATR": 'a̹'
"+resonant dorsal +low +back -round -ATR": 'ɑ'
"+resonant dorsal +low +back +round -ATR": 'ɒ'
"-syllabic +resonant dorsal -lateral -tap_or_trill +high +front -round": 'j'
"-syllabic +resonant dorsal -lateral -tap_or_trill +high +front +round": 'ɥ'
"-syllabic +resonant dorsal -lateral -tap_or_trill +high -front -round": 'ɰ'
"-syllabic +resonant dorsal -lateral -tap_or_trill +high -front +round": 'w'
"+resonant dorsal +lateral -tap_or_trill +high +front": 'ʎ'
"+resonant dorsal +lateral -tap_or_trill +high -front": 'ʟ'
# taps can be notated as extra-short stops I guess
"+resonant dorsal -lateral +tap_or_trill -trill -high": 'ɢ̆'
"+resonant dorsal -lateral +tap_or_trill +trill -high": 'ʀ'
"+resonant coronal +lateral -tap_or_trill -back -retroflex": 'l'
"+resonant coronal +lateral -tap_or_trill +retroflex": 'ɭ'
"+resonant coronal +lateral -tap_or_trill +back": 'ɫ'
"+resonant coronal +lateral +tap_or_trill -trill": 'ɺ'
"+resonant coronal -lateral -tap_or_trill -retroflex": 'ɹ'
"+resonant coronal -lateral -tap_or_trill +retroflex": 'ɻ'
"+resonant coronal -lateral +tap_or_trill -trill -retroflex": 'ɾ'
"+resonant coronal -lateral +tap_or_trill -trill +retroflex": 'ɽ'
"+resonant coronal -lateral +tap_or_trill +trill": 'r'
"+resonant labial -labiodental -lateral -tap_or_trill": 'β̞'
"+resonant labial +labiodental -lateral -tap_or_trill": 'ʋ'
"+resonant labial -lateral +tap_or_trill -trill": 'b̆'
"+resonant labial -lateral +tap_or_trill +trill": 'ʙ'
"-resonant +nasal -fricative -affricate dorsal -high": 'ɴ'
"-resonant +nasal -fricative -affricate dorsal +high -front": 'ŋ'
"-resonant +nasal -fricative -affricate dorsal +high +front -consonant_palatal": 'ŋʲ'
"-resonant +nasal -fricative -affricate dorsal +high +front +consonant_palatal": 'ɲ'
"-resonant +nasal -fricative -affricate coronal -retroflex": 'n'
"-resonant +nasal -fricative -affricate coronal +retroflex": 'ɳ'
"-resonant +nasal -fricative -affricate labial -labiodental": 'm'
"-resonant +nasal -fricative -affricate labial +labiodental": 'ɱ'
"-resonant -nasal -fricative -affricate -voice dorsal -high": 'q'
"-resonant -nasal -fricative -affricate +voice dorsal -high -implosive": 'ɢ'
"-resonant -nasal -fricative -affricate dorsal -high +implosive": 'ʛ'
"-resonant -nasal -fricative -affricate -voice dorsal +high -front -implosive": 'k'
"-resonant -nasal -fricative -affricate +voice dorsal +high -front -implosive": 'g'
"-resonant -nasal -fricative -affricate dorsal +high -front +implosive": 'ɠ'
"-resonant -nasal -fricative -affricate -voice dorsal +high +front -consonant_palatal -implosive": 'kʲ'
"-resonant -nasal -fricative -affricate +voice dorsal +high +front -consonant_palatal -implosive": 'gʲ'
"-resonant -nasal -fricative -affricate dorsal +high +front -consonant_palatal +implosive": 'ɠʲ'
"-resonant -nasal -fricative -affricate -voice dorsal +high +front +consonant_palatal -implosive": 'c'
"-resonant -nasal -fricative -affricate +voice dorsal +high +front +consonant_palatal -implosive": 'ɟ'
"-resonant -nasal -fricative -affricate dorsal +high +front +consonant_palatal +implosive": 'ʄ'
"-resonant -nasal -fricative -affricate -voice coronal -implosive -retroflex": 't'
"-resonant -nasal -fricative -affricate -voice coronal -implosive +retroflex": 'ʈ'
"-resonant -nasal -fricative -affricate +voice coronal -implosive -retroflex": 'd'
"-resonant -nasal -fricative -affricate +voice coronal -implosive +retroflex": 'ɖ'
"-resonant -nasal -fricative -affricate coronal +implosive": 'ɗ'
"-resonant -nasal -fricative -affricate -voice labial -implosive": 'p'
"-resonant -nasal -fricative -affricate +voice labial -implosive": 'b'
"-resonant -nasal -fricative -affricate labial +implosive": 'ɓ'
"-resonant +fricative -voice dorsal -high": 'χ'
"-resonant +fricative +voice dorsal -high": 'ʁ'
"-resonant +fricative -voice dorsal +high -front": 'x'
"-resonant +fricative +voice dorsal +high -front": 'ɣ'
"-resonant +fricative -voice dorsal +high +front -consonant_palatal": 'xʲ'
"-resonant +fricative +voice dorsal +high +front -consonant_palatal": 'ɣʲ'
"-resonant +fricative -voice dorsal +high +front +consonant_palatal": 'ç'
"-resonant +fricative +voice dorsal +high +front +consonant_palatal": 'ʝ'
"-resonant +fricative -voice coronal -lateral -anterior -retroflex +front": 'ɕ'
"-resonant +fricative +voice coronal -lateral -anterior -retroflex +front": 'ʑ'
"-resonant +fricative -voice coronal -lateral -anterior -retroflex -front": 'ʃ'
"-resonant +fricative +voice coronal -lateral -anterior -retroflex -front": 'ʒ'
"-resonant +fricative -voice coronal -lateral -anterior +retroflex": 'ʂ'
"-resonant +fricative +voice coronal -lateral -anterior +retroflex": 'ʐ'
"-resonant +fricative -voice coronal -lateral +anterior +anterior_sibilant": 's'
"-resonant +fricative +voice coronal -lateral +anterior +anterior_sibilant": 'z'
"-resonant +fricative -voice coronal -lateral +anterior -anterior_sibilant +dental": 'θ'
"-resonant +fricative +voice coronal -lateral +anterior -anterior_sibilant +dental": 'ð'
"-resonant +fricative -voice coronal -lateral +anterior -anterior_sibilant -dental": 'θ̱' # less distracting than the Z-SAMPA
"-resonant +fricative +voice coronal -lateral +anterior -anterior_sibilant -dental": 'ð̱'
"-resonant +fricative -voice coronal +lateral": 'ɬ'
"-resonant +fricative +voice coronal +lateral": 'ɮ'
"-resonant +fricative -voice labial -labiodental": 'ɸ'
"-resonant +fricative +voice labial -labiodental": 'β'
"-resonant +fricative -voice labial +labiodental": 'f'
"-resonant +fricative +voice labial +labiodental": 'v'
"-syllabic -dorsal -coronal -labial -voice +constricted_glottis -pharyngealised": 'ʔ'
"-syllabic -dorsal -coronal -labial -voice +constricted_glottis +pharyngealised": 'ʔˁ'
"-syllabic -dorsal -coronal -labial -voice +spread_glottis": 'h'
"-syllabic -dorsal -coronal -labial +voice +spread_glottis": 'ɦ'
"-syllabic -dorsal -coronal -labial +pharyngealised -constricted_glottis -voice": 'ħ' # what if there's [+sg] here?
"-syllabic -dorsal -coronal -labial +pharyngealised +voice": 'ʕ'
ligations:
"labial coronal": ["-coronal", "-labial", "[]͡[]"]
"labial dorsal": ["-dorsal", "-labial", "[]͡[]"]
"coronal dorsal": ["-dorsal", "-coronal", "[]͡[]"]
"+affricate": ["-affricate", "+fricative -affricate -prenasalised", "[]͡[]"]
"+prenasalised": ["+nasal -affricate -fricative -prenasalised", "-prenasalised", "[][]"]
modifiers:
"+syllabic -dorsal": '[]̩'
"+syllabic +lateral": '[]̩'
"+syllabic +tap_or_trill": '[]̩'
"+syllabic -resonant": '[]̩'
"-syllabic +resonant dorsal -lateral -tap_or_trill": '[]̯'
"+spread_glottis -voice": '[]ʰ'
"+spread_glottis +voice": '[]̤'
"+constricted_glottis -voice": '[]ʼ'
"+constricted_glottis +voice": '[]̰'
"+implosive": "[]˂"
# various releases have symbols
"-voice": '[]̥'
#"+voice": '[]̬' # let's just not specify any voiceless unpaired Cs
"+labiodental": '[]̪' # apparently IPA-sanctioned? also in Z-SAMPA. alternatively ȸ and ȹ
"+dental": '[]̪'
"+retroflex -syllabic": '[]̢'
"+retroflex +syllabic": '[]˞'
"-anterior -retroflex": '[]̱' # a common use of IPA underline
"+lateral": '[]ˡ' # that's meant for release, enh
"+round": '[]ʷ'
"+front": '[]ʲ'
"-back dorsal -front": '[]̟'
"-ATR": '[]̙'
"+back -dorsal": '[]ˠ'
"+pharyngealised": '[]ˤ'
"+nasal": '[]̃'
"+long": '[]ː'