We generate training (s, t) pairs in the obvious way from our stressmarked training words,w.
we first extract the letter/phoneme portion, w, and use it to create the substrings, s. We then create the stress pattern, t, usingw's stress markers.