| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.speech.freetts.en.us.FeatureProcessors
Provides the set of feature processors that are used by this language as part of the CART processing.
| Nested Class Summary | |
| static class | FeatureProcessors.AccentedChecks to see if the given syllable is accented. | 
| static class | FeatureProcessors.AccentedSylInCounts the number of accented syllables since the last major break. | 
| static class | FeatureProcessors.GposReturns a guess of the part-of-speech. | 
| static class | FeatureProcessors.LastAccentFind the last accented syllable This is a feature processor. | 
| static class | FeatureProcessors.MonthRangeReturns true ("1") if the given item is a number between 0 and 32 exclusive, otherwise, returns "0". | 
| static class | FeatureProcessors.NumDigitsReturns the length of the string. | 
| static class | FeatureProcessors.PH_CPlaceReturn consonant cplace l-labial a-alveolar p-palatal b-labio_dental d-dental v-velar This is a feature processor. | 
| static class | FeatureProcessors.PH_CTypeReturn consonant type s-stop f-fricative a-affricative n-nasal * l-liquid This is a feature processor. | 
| static class | FeatureProcessors.PH_CVoxReturn consonant voicing +=on -=off This is a feature processor. | 
| static class | FeatureProcessors.PH_VCReturn vowel or consonant +=on -=off This is a feature processor. | 
| static class | FeatureProcessors.PH_VFrontReturn vowel frontness 1-front 2-mid 3-back This is a feature processor. | 
| static class | FeatureProcessors.PH_VHeightReturn vowel height 1-high 2-mid 3-low This is a feature processor. | 
| static class | FeatureProcessors.PH_VLengthReturn vowel length s-short l-long d-dipthong a-schwa This is a feature processor. | 
| static class | FeatureProcessors.PH_VRndReturn vowel rnd (lip rounding) lip rounding +=on -=off This is a feature processor. | 
| static class | FeatureProcessors.PosInSylFinds the position of the phoneme in the syllable This is a feature processor. | 
| static class | FeatureProcessors.PositionTypeClassifies the the syllable as single, initial, mid or final. | 
| static class | FeatureProcessors.SegCodaFricChecks for fricative This is a feature processor. | 
| static class | FeatureProcessors.SegCodaGlideChecks for coda glide This is a feature processor. | 
| static class | FeatureProcessors.SegCodaNasalChecks for coda nasal This is a feature processor. | 
| static class | FeatureProcessors.SegCodaStopChecks for coda stop This is a feature processor. | 
| static class | FeatureProcessors.SegmentDurationReturns the duration of the given segment This is a feature processor. | 
| static class | FeatureProcessors.SegOnsetCodaChecks for onset coda This is a feature processor. | 
| static class | FeatureProcessors.SegOnsetFricChecks for fricative This is a feature processor. | 
| static class | FeatureProcessors.SegOnsetGlideChecks for onset glide This is a feature processor. | 
| static class | FeatureProcessors.SegOnsetNasalChecks for onset nasal This is a feature processor. | 
| static class | FeatureProcessors.SegOnsetStopChecks for onset stop This is a feature processor. | 
| static class | FeatureProcessors.StressedSylInCounts the number of stressed syllables since the last major break. | 
| static class | FeatureProcessors.StressedSylOutCounts the number of stressed syllables until the next major break. | 
| static class | FeatureProcessors.SubPhrasesCounts the number of phrases before this one. | 
| static class | FeatureProcessors.SylBreakDetermines the break level after this syllable This is a feature processor. | 
| static class | FeatureProcessors.SylCodaSizeDetermines the coda size This is a feature processor. | 
| static class | FeatureProcessors.SylInCounts the number of stressed syllables since the last major break. | 
| static class | FeatureProcessors.SylOnsetSizeDetermines the onset size of this syllable This is a feature processor. | 
| static class | FeatureProcessors.SylOutCounts the number of stressed syllables since the last major break. | 
| static class | FeatureProcessors.TokenPosGuessAttempts to guess the part of speech. | 
| static class | FeatureProcessors.WordBreakDetermines the word break. | 
| static class | FeatureProcessors.WordNumSylsReturns as an Integer the number of syllables in the given word. | 
| static class | FeatureProcessors.WordPuncDetermines the word punctuation. | 
| Method Summary | |
| static java.lang.String | getPhoneFeature(Item item,
                java.lang.String featureName)Gets the phoneset feature with the given name | 
| static java.lang.String | wordBreak(Item item)Classifies the type of word break | 
| static java.lang.String | wordPunc(Item item)Gets the punctuation associated with the word | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
public static java.lang.String getPhoneFeature(Item item,
                                               java.lang.String featureName)
item - item the phoneme of interestfeatureName - the feature of interest
public static java.lang.String wordBreak(Item item)
                                  throws ProcessException
item - the item to process
ProcessException - if an exception occurred during the
 processing
public static java.lang.String wordPunc(Item item)
                                 throws ProcessException
item - the word to process
ProcessException - if an exception occurred during the
 processing| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||