Question: This is a sub-problem of the long problem for this assignment, namely, rhyming words. Write a function primary_stress_position (phoneme_list) that behaves as follows. The argument
This is a sub-problem of the long problem for this assignment, namely, rhyming words. Write a function primary_stress_position(phoneme_list) that behaves as follows. The argument phoneme_list is a list of phonemes, as describedhere. It returns an integer that is the position of the primary stress phoneme (i.e., the phoneme with the main stress) in phoneme_list. If there is no primary stress in phoneme_list, your function should return None.
This document describes how the primary-stress phoneme is indicated.
You can assume that there is at most one primary-stress phoneme in phoneme_list.
python problem!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
