Package com.sun.speech.freetts
Interface PhoneSet
-
- All Known Implementing Classes:
PhoneSetImpl
public interface PhoneSet
Maintains a list of phones with various features for those phones.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CPLACE
Consonant cplace: l = labial, a = alveolar, p = palatal, b = labio_dental, d = dental, v = velarstatic java.lang.String
CTYPE
Consonant type: s = stop, f = fricative, a = affricative, n = nasal, l = liquid.static java.lang.String
CVOX
Consonant voicing: + = on, - = offstatic java.lang.String
VC
Vowel or consonant: + = vowel, - = consonant.static java.lang.String
VFRONT
Vowel frontness: 1 = front, 2 = mid, 3 = back.static java.lang.String
VHEIGHT
Vowel height: 1 = high, 2 = mid, 3 = low.static java.lang.String
VLNG
Vowel length: s = short, l = long, d = dipthong, a = schwa.static java.lang.String
VRND
Lip rounding: + = on, - = off.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getPhoneFeature(java.lang.String phone, java.lang.String featureName)
Given a phoneme and a feature name, return the feature.
-
-
-
Field Detail
-
VC
static final java.lang.String VC
Vowel or consonant: + = vowel, - = consonant.- See Also:
- Constant Field Values
-
VLNG
static final java.lang.String VLNG
Vowel length: s = short, l = long, d = dipthong, a = schwa.- See Also:
- Constant Field Values
-
VHEIGHT
static final java.lang.String VHEIGHT
Vowel height: 1 = high, 2 = mid, 3 = low.- See Also:
- Constant Field Values
-
VFRONT
static final java.lang.String VFRONT
Vowel frontness: 1 = front, 2 = mid, 3 = back.- See Also:
- Constant Field Values
-
VRND
static final java.lang.String VRND
Lip rounding: + = on, - = off.- See Also:
- Constant Field Values
-
CTYPE
static final java.lang.String CTYPE
Consonant type: s = stop, f = fricative, a = affricative, n = nasal, l = liquid.- See Also:
- Constant Field Values
-
CPLACE
static final java.lang.String CPLACE
Consonant cplace: l = labial, a = alveolar, p = palatal, b = labio_dental, d = dental, v = velar- See Also:
- Constant Field Values
-
CVOX
static final java.lang.String CVOX
Consonant voicing: + = on, - = off- See Also:
- Constant Field Values
-
-
Method Detail
-
getPhoneFeature
java.lang.String getPhoneFeature(java.lang.String phone, java.lang.String featureName)
Given a phoneme and a feature name, return the feature.- Parameters:
phone
- the phoneme of interestfeatureName
- the name of the feature of interest- Returns:
- the feature with the given name
-
-