Closed davidlday closed 2 years ago
Add basic statistics on phones to Work, Sentence, Paragraph, and Prose objects:
x.phone_count
x.phone_frequency
Words also contain:
word.phones
word.normalized_phones
Closes #12
Add basic statistics on phones to Work, Sentence, Paragraph, and Prose objects:
x.phone_count
: total number of phones in the textx.phone_frequency
: a map of phones an the number of times each appears in the textWords also contain:
word.phones
: the word's phones with syllable marks as appearing in CMUdictword.normalized_phones
: the word's phones with syllable marks removed