LingPy

This documentation is for version 2.0.dev, which is not released yet.

lingpy.sequence.sound_classes.prosodic_string

lingpy.sequence.sound_classes.prosodic_string(string, _output=True)

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). In contrast to the previous model, the current implementation allows for a more fine-graded distinction between different prosodic segments. The current scheme distinguishes 9 prosodic positions:

  • A: sequence-initial consonant
  • B: syllable-initial, non-sequence initial consonant in a context of ascending sonority
  • C: non-syllable, non-initial consonant in ascending sonority context
  • L: non-syllable-final consonant in descending environment
  • M: syllable-final consonant in descending environment
  • N: word-final consonant
  • X: first vowel in a word
  • Y: non-final vowel in a words
  • Z: vowel occuring in the last position of a word

Examples

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

This Page