gui
Class Language
java.lang.Object
gui.Language
public class Language
- extends java.lang.Object
Application parameter settings.
(Rather application parameter settings, which are specific for communicating with the regserver)
Constructor Summary |
Language(java.lang.String languageName,
java.util.Properties pConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
private static java.util.logging.Logger logger
languageName
private java.lang.String languageName
languageIndex
private int languageIndex
recognitionPackage
private java.lang.String recognitionPackage
isSLMSelected
private boolean isSLMSelected
recognitionStringEncoding
private java.lang.String recognitionStringEncoding
isUsingTTS
private boolean isUsingTTS
playbackParameters
private java.lang.String playbackParameters
dialogueServerPackage
private java.lang.String dialogueServerPackage
config
private final java.util.Properties config
Language
public Language(java.lang.String languageName,
java.util.Properties pConfig)
getRecognitionPackage
public java.lang.String getRecognitionPackage()
getDialogServerPackage
public java.lang.String getDialogServerPackage()
getDialogPackage
public java.lang.String getDialogPackage()
getRecognitionClientParameters
public java.lang.String[] getRecognitionClientParameters()
getSLMGrammar
public java.lang.String getSLMGrammar()
getSLMRecognitionClientParameters
public java.lang.String[] getSLMRecognitionClientParameters()
getGLMRecognitionClientParameters
public java.lang.String[] getGLMRecognitionClientParameters()
getLanguageName
public java.lang.String getLanguageName()
getLanguageIndex
public int getLanguageIndex()
getLanguageIndex
public int getLanguageIndex(java.lang.String languageName)
getRecognitionStringEncoding
public java.lang.String getRecognitionStringEncoding()
isImplementedLanguage
public boolean isImplementedLanguage()
isUsingTTS
public boolean isUsingTTS()
getGLMGrammar
public java.lang.String getGLMGrammar()
equals
public boolean equals(Language lang)
- Returns true if the two languages have the same name.
- Parameters:
lang
-
- Returns:
hasGLMGrammar
public boolean hasGLMGrammar()
throws java.lang.Exception
- Throws:
java.lang.Exception
hasSLMGrammar
public boolean hasSLMGrammar()
isSLMSelected
public boolean isSLMSelected()
setSLMSelected
public void setSLMSelected(boolean selected)
isSuportingTalkback
public boolean isSuportingTalkback()
- Returns:
getPlaybackParameters
public java.lang.String getPlaybackParameters()
- Returns: