cldf-clts / clts-legacy

Cross-Linguistic Transcription Systems
Apache License 2.0
4 stars 3 forks source link

[Transcription System] X-SAMPA #108

Closed Anaphory closed 6 years ago

Anaphory commented 6 years ago

I was surprised not to see an X-SAMPA transcription system among the already defined ones. Are you working on it, or is that something that won't happen for one reason or another?

LinguList commented 6 years ago

X-Sampa is the same as IPA, @tresoldi was looking into it, but lingpy's x-sampa is converting to IPA, so there's no direct need, etc., or otherwise, you'll need to spell out a lot of thingies. I don't exactly remember where we ended in thatt discussion...

tresoldi commented 6 years ago

We pretty much settled that x-sampa is a different expression of IPA, but directly linked to it (if IPA changes, X-sampa is supposed to change too). So, yes, the same as IPA, and it was not necessary to add it (given the many tools already available), not desirable (it would inflate the number of systems without any real advantage besides saying "look how big it is").Em 5 de abr de 2018 6:05 PM, Johann-Mattis List notifications@github.com escreveu:X-Sampa is the same as IPA, @tresoldi was looking into it, but lingpy's x-sampa is converting to IPA, so there's no direct need, etc., or otherwise, you'll need to spell out a lot of thingies. I don't exactly remember where we ended in thatt discussion...

—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

LinguList commented 6 years ago

I'll close this now, as it seems to have been resolved. We could add an extra mapper for convenience when working with characters, but it is probably as simple to write some kind of a wrapper that does the same...

Anaphory commented 6 years ago

Ah, okay, I know it's “logically” the same, I just assumed I would find the implemented logic to read it somewhere it CLTS. Obviously, some kind of wrapper that does nothing more but trivially implement the correspondences is all I expected, I was definitely not expecting a full-blown TS separate from (b)IPA.

LinguList commented 6 years ago
In [1]: from lingpy.sequence.sound_classes import sampa2uni
In [2]: sampa2uni('t_h O x t @')
Out[2]: 'tʰ ɔ x t ə'