|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpeechServer
SpeechServer provides system-wide services for integrating document creation systems with speech systems.
Method Summary | |
---|---|
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. |
Method Detail |
---|
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(String)
to convert String input into the value expected here.
Voice
instance associated with the
descriptive input.
SpeechException
- If there is no matching Voice.
|
aXSL API 0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.