cldf-clts / clts

Cross-Linguistic Transcription Systems
https://clts.clld.org
13 stars 3 forks source link

Name parsing fails for "palatalized aspirated voiceless bilabial stop consonant" #92

Closed LinguList closed 3 years ago

LinguList commented 3 years ago

It is good that we have the check for valid sounds:

>>> bipa['palatalized aspirated voiceless bilabial stop consonant'].s
"pʰʲ"
>>> bipa["pʲʰ"].name
"palatalized aspirated voiceless bilabial stop consonant"
>>> bipa["pʲʰ"].s
"pʲʰ"

So if you parse the sound by the name, it will flip aspiration and palatalization. This means, we need to hard-code in the system. This solves the problem then. The reason is the parsing algorithm which occasionally requires hard-coding, as in this case.

LinguList commented 3 years ago

@cormacanderson, very good catch!

LinguList commented 3 years ago

solved, the problematic sounds were in our list of BIPA graphemes!