Javadoc
For each segment in the given sentence, calculate the accumulated duration since the beginning of the sentence, including
this segment's duration, and save it in the segment's end
attribute. (This value is then comparable to the
end
feature in FreeTTS, but we use milliseconds, they use seconds.)