cldf-clts / clts

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

Order of diacritics #54

Closed cormacanderson closed 3 years ago

cormacanderson commented 3 years ago

Assign write-order https://github.com/cldf-clts/pyclts/blob/dfddc2836bf66c83408e5c8a55b1f8f19d56551f/src/pyclts/models.py#L268-L276

Assign name-order https://github.com/cldf-clts/pyclts/blob/dfddc2836bf66c83408e5c8a55b1f8f19d56551f/src/pyclts/models.py#L277-L283

Cf. https://github.com/cldf-clts/pyclts/blob/dfddc2836bf66c83408e5c8a55b1f8f19d56551f/src/pyclts/models.py#L356-L371

cormacanderson commented 3 years ago

Assigning myself here and will update this after new features have been added. Once I update, I will assign also @tresoldi.

tresoldi commented 3 years ago

Phoible has its own order, correct? Maybe we should follow the same one?

cormacanderson commented 3 years ago

@LinguList I have changed both write order and name order accordingly and copy-paste below. Is this okay, or do you need more?

_write_order = dict(
        pre=['preceding'],
        post=[
            'raising', 'relative_articulation',
            'laminality', 'creakiness', 'phonation', 'ejection', 'syllabicity', 'voicing',
            'articulation',
            'nasalization', 'palatalization', 'labialization',
            'velarization',
            'pharyngealization', 'glottalization', 'breathiness', 'aspiration', 'release', 'duration'])
    _name_order = [
        'raising', 'relative_articulation',
        'articulation', 'preceding', 'syllabicity', 'nasalization', 'palatalization',
        'labialization', 'velarization',
        'pharyngealization', 'glottalization', 'aspiration', 'duration', 'release', 'voicing', 'creakiness',
        'breathiness', 'phonation', 'laminality', 'place', 'ejection', 'laterality',
        'sibilancy', 'manner']
LinguList commented 3 years ago

Yes, but please consider the new order:

    _write_order = dict(
        pre=['preceding'],
        post=[
            'raising', 'relative_articulation',
            'laminality', 'creakiness', 'phonation', 'ejection', 'syllabicity', 'voicing',
            'articulation',
            'nasalization', 'release', 'palatalization', 'labialization',
            'breathiness', 'aspiration', 'glottalization', 'velarization',
            'pharyngealization', 'friction', 'duration'
            ])

I adjusted this to have release (which is trilled release, etc.) before palatalization, or should it be the other way round?

LinguList commented 3 years ago

Please check this, as it reflects your order:

    _write_order = dict(
        pre=['preceding'],
        post=[
            'raising', 
            'relative_articulation',
            'laminality', 
            'creakiness', 
            'phonation', 
            'ejection', 
            'syllabicity', 
            'voicing',
            'articulation',
            'nasalization',
            'release',
            'palatalization',
            'labialization',
            'velarization',
            'pharyngealization',
            'glottalization',
            'breathiness',
            'aspiration',
            'friction',
            'duration'
            ])
LinguList commented 3 years ago

And this is the new name order:

    _name_order = [
        'raising', 
        'relative_articulation',
        'friction'
        'articulation', 
        'preceding', 
        'syllabicity', 
        'nasalization', 
        'palatalization',
        'labialization',
        'velarization',
        'pharyngealization', 
        'glottalization', 
        'aspiration', 
        'duration', 
        'release', 
        'voicing', 
        'creakiness',
        'breathiness', 
        'phonation', 
        'laminality', 
        'place', 
        'ejection', 
        'airstream',
        'manner', 
        ]
cormacanderson commented 3 years ago

Yes, that makes sense to have trilled release and nasalisation together. Well spotted. My main concern was to have first secondary articulation and then the aspiration.

cormacanderson commented 3 years ago

Seemingly not resolved yet, as replacements in https://github.com/cldf-clts/clts/pull/73 are not compatible with final order agreed above. Note velarisation after aspiration, while we agreed ...'palatalization', 'labialization', 'velarization', 'pharyngealization', 'glottalization', 'breathiness', 'aspiration'... Below the relevant cases: Raw grapheme pʷˠʰ mapping was replaced from pʷˠʰ to pʷʰˠ. Raw grapheme pˠʰ mapping was replaced from pˠʰ to pʰˠ. Raw grapheme pˤʰ mapping was replaced from pˤʰ to pʰˤ. Raw grapheme qʷˤʰ mapping was replaced from qʷˤʰ to qʷʰˤ. Raw grapheme qˤʰ mapping was replaced from qˤʰ to qʰˤ. Raw grapheme tsˤʰ mapping was replaced from tsˤʰ to tsʰˤ. Raw grapheme t̠ʃˤʰ mapping was replaced from tʃˤʰ to tʃʰˤ. Raw grapheme t̪ˠʰ mapping was replaced from t̪ˠʰ to t̪ʰˠ. Raw grapheme t̪ˠʰ|tˠʰ mapping was replaced from to tʰˠ. Raw grapheme t̪ˤʰ mapping was replaced from t̪ˤʰ to t̪ʰˤ. Raw grapheme ŋ̥ǃˠˀ mapping was replaced from ŋǃˠˀ to ŋǃˀˠ.

LinguList commented 3 years ago

I moved this issue to the pyclts repository issue 31, where it makes more sense.