Closed Anaphory closed 6 years ago
what do you mean by inventory?
The result of the second line, so eg.
{'2', '1', '5', 'I', 'E', 'C', '6', 'L', 'A', 'T', 'G', 'O', '9', '4', 'Y', 'W', 'P', 'K', 'B', '_', 'D', 'S', 'J', 'N', '0', 'U', '!', 'H', '3', 'R', 'M'}
Ah, no, not that I knew of. But LingPy has:
>>> m = Model('sca')
>>> m.chars2int
But only as long as sound classes are derived from lingpy, and I assume, they won't in the future, as we can imagine systems that are just based on the sounds in clts...
BTW: adding this to the library is a good idea. In fact: whe reading the file IN to the system, it could just be collected. If you want to go ahead with this, please do so.
Is there a better way of getting the classes inventory of a sound class system than by
and if not, should there be?