SourceForge.net Logo
aXSL API 0.2

org.axsl.speech
Interface SpeechServer


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

selectVoiceXsl

Voice selectVoiceXsl(java.lang.String[] familyList)
                     throws SpeechException
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.

Parameters:
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.
Returns:
The best-fitting Voice instance associated with the descriptive input.
Throws:
SpeechException - If there is no matching Voice.

selectVoiceCss

Voice selectVoiceCss(java.lang.String[] familyList)
                     throws SpeechException
Accepts the client's description of the desired voice, and returns the best-fitting voice found, using the algorithm specified by the CSS2 recommendation.

Parameters:
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.
Returns:
The best-fitting Voice instance associated with the descriptive input.
Throws:
SpeechException - If there is no matching Voice.

SourceForge.net Logo
aXSL API 0.2

This documentation was created August 8 2007 by The aXSL Group and may be freely copied. See license for details.