public interface SpeechServer
SpeechServer provides system-wide services for integrating document creation systems with speech systems.
Modifier and Type | Method and Description |
---|---|
Voice |
selectVoiceCss(java.lang.String[] familyList)
Accepts the client's description of the desired voice, and returns the
best-fitting voice found, using the algorithm specified by the CSS2
recommendation.
|
Voice |
selectVoiceXsl(java.lang.String[] familyList)
Accepts the client's description of the desired voice, and returns the
best-fitting voice found, using the algorithm specified by the XSL-FO
recommendation.
|
Voice selectVoiceXsl(java.lang.String[] familyList) throws SpeechException
familyList
- An array of possible voice family names from which to
choose the voice.
The most desirable voice-family name is listed first, then the next
most desirable, etc.
Elements should not contain leading or trailing quotation marks or
spaces.
Client applications may use SpeechUtility.foVoiceFamily(String)
to convert String input into the value expected here.Voice
instance associated with the
descriptive input.SpeechException
- If there is no matching Voice.Voice selectVoiceCss(java.lang.String[] familyList) throws SpeechException
familyList
- An array of possible voice family names from which to
choose the voice.
The most desirable voice-family name is listed first, then the next
most desirable, etc.
Elements should not contain leading or trailing quotation marks or
spaces.
Client applications may use SpeechUtility.cssVoiceFamily(CharSequence)
to convert String input into the value expected here.Voice
instance associated with the
descriptive input.SpeechException
- If there is no matching Voice.This documentation was created 2017-01-24 at 21:26 GMT by The aXSL Group and may be freely copied. See license for details.