cldf-clts / clts-legacy

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

Add code to extract the set of classes (nearly) at read time #115

Closed Anaphory closed 6 years ago

Anaphory commented 6 years ago

I have added code that collects the list of classes of a SoundClasses system. I read them into the .classes attribute, a set, at the same time as the data is iterated over to flatten multiple representations of sounds, which I turned from a dict comprehension into an explicit loop for this reason.

Fixes #114