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
FieldsModifier and TypeFieldDescriptionstatic final String
Consonant cplace: l = labial, a = alveolar, p = palatal, b = labio_dental, d = dental, v = velarstatic final String
Consonant type: s = stop, f = fricative, a = affricative, n = nasal, l = liquid.static final String
Consonant voicing: + = on, - = offstatic final String
Vowel or consonant: + = vowel, - = consonant.static final String
Vowel frontness: 1 = front, 2 = mid, 3 = back.static final String
Vowel height: 1 = high, 2 = mid, 3 = low.static final String
Vowel length: s = short, l = long, d = dipthong, a = schwa.static final String
Lip rounding: + = on, - = off. -
Method Summary
Modifier and TypeMethodDescriptiongetPhoneFeature
(String phone, String featureName) Given a phoneme and a feature name, return the feature.
-
Field Details
-
VC
Vowel or consonant: + = vowel, - = consonant.- See Also:
-
VLNG
Vowel length: s = short, l = long, d = dipthong, a = schwa.- See Also:
-
VHEIGHT
Vowel height: 1 = high, 2 = mid, 3 = low.- See Also:
-
VFRONT
Vowel frontness: 1 = front, 2 = mid, 3 = back.- See Also:
-
VRND
Lip rounding: + = on, - = off.- See Also:
-
CTYPE
Consonant type: s = stop, f = fricative, a = affricative, n = nasal, l = liquid.- See Also:
-
CPLACE
Consonant cplace: l = labial, a = alveolar, p = palatal, b = labio_dental, d = dental, v = velar- See Also:
-
CVOX
Consonant voicing: + = on, - = off- See Also:
-
-
Method Details
-
getPhoneFeature
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
-