Last updated
The Score Word API can be a complete replacement for using Score Phonelist. Score Word is the recommended API for scoring single words (whether it's a dictionary word, or a custom non-word)./
Score Word API allows the use of arpa_markup to express exact phonetic sequence. In addition, Score Word does not require stress notation or syllable boundaries. This makes converting syntax from PhoneList to Word trivial.
The word: gotcha
phone_list="g|ao|ch|ah"
word="[gotcha]{g ao ch ah]"
The word: photographer * no stress or syllable boundaries
phone_list="f|ah|t|aa|g|r|ah|f|er"
word="[photographer]{f ah t aa g r ah f er}"
The word: photographer * with stress and syllable boundaries
phone_list="f|ah|t|aa|g|r|ah|f|er"
word="[pho|tog|ra|pher]{f ah0|t aa1 g|r ah0|f er0"
In the second example, while it is possible to score a long multi-syllable word such as "photographer" with no stress or syllable boundaries, we recommend using stress and syllable boundaries. The information assists improving scoring especially for longer multi-syllable words.
Last updated