LingPy

lingpy.algorithm.misc.prosodic_string

lingpy.algorithm.misc.prosodic_string(seq)

Create a prosodic string of the sonority profile of a sequence.

Returns :

prostring : string

A prosodic string corresponding to the sonority profile of the underlying sequence.

Notes

A prosodic string is a sequence of specific characters which indicating their resprective prosodic context (see List2012 or List2012a for a detailed description).

Examples

>>> profile = [int(i) for i in tokens2class(ipa2tokens('t͡sɔyɡə'),art)]
>>> prosodic_string(profile)
'#vC>'