Package com.sun.speech.freetts
Class Gender
java.lang.Object
com.sun.speech.freetts.Gender
- All Implemented Interfaces:
Comparable
Provides an enumeration of Gender, following the JSAPI style.
(http://java.sun.com/products/java-media/speech/forDevelopers/jsapi-doc/)
These are intended for use to define properties about FreeTTS
voices.
- See Also:
-
Field Summary
Fields -
Method Summary
-
Field Details
-
MALE
Male. -
FEMALE
Female. -
NEUTRAL
Neutral such as a robot or artificial. -
DONT_CARE
Match against all other genders.
-
-
Method Details
-
toString
Generates a human readable name describing the gender. -
compareTo
Compare two genders. If either is DONT_CARE, then returns 0.- Specified by:
compareTo
in interfaceComparable
-