from ipaparser import IPA
print([str(symbol) for symbol in IPA('[ˈpʰɹɛʔt͡sɫ̩]') if 'consonant' in symbol.features()])
['pʰ', 'ɹ', 'ʔ', 't͡s', 'ɫ̩']
Please see full documentation on GitHub.
from ipaparser import IPA
print([str(symbol) for symbol in IPA('[ˈpʰɹɛʔt͡sɫ̩]') if 'consonant' in symbol.features()])
['pʰ', 'ɹ', 'ʔ', 't͡s', 'ɫ̩']
Please see full documentation on GitHub.