|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.speech.freetts.PhoneDuration
Maintains the mean duration and standard deviation about a phone.
These are meant to be used by the code that calculates segment
durations via statistical methods, and are paired with the phone
by PhoneDurations.
PhoneDurations| Constructor Summary | |
PhoneDuration(float mean,
float standardDeviation)
Creates a new PhoneDuration with the given mean
and standard deviation. |
|
| Method Summary | |
float |
getMean()
Gets the mean. |
float |
getStandardDeviation()
Gets the standard deviation from the mean. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PhoneDuration(float mean,
float standardDeviation)
PhoneDuration with the given mean
and standard deviation.
mean - mean duration, typically in secondsstandardDeviation - standardDeviation from the mean| Method Detail |
public float getMean()
public float getStandardDeviation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||