C# Class OSAE.OSAEGrammar

显示文件 Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
GetQuestion ( ) : string
Load_Answer_Grammar ( SpeechRecognitionEngine oRecognizer, string propDatatype, string propObjectType ) : SpeechRecognitionEngine
Load_Direct_Grammar ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
Load_Text_Only_Grammars ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
Load_User_Grammar ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
Load_Voice_Grammars ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
SearchForMeaning ( string str, string ScriptParameter, string sUser ) : string

Method Details

GetQuestion() public static method

public static GetQuestion ( ) : string
return string

Load_Answer_Grammar() public static method

public static Load_Answer_Grammar ( SpeechRecognitionEngine oRecognizer, string propDatatype, string propObjectType ) : SpeechRecognitionEngine
oRecognizer SpeechRecognitionEngine
propDatatype string
propObjectType string
return SpeechRecognitionEngine

Load_Direct_Grammar() public static method

public static Load_Direct_Grammar ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
oRecognizer SpeechRecognitionEngine
return SpeechRecognitionEngine

Load_Text_Only_Grammars() public static method

public static Load_Text_Only_Grammars ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
oRecognizer SpeechRecognitionEngine
return SpeechRecognitionEngine

Load_User_Grammar() public static method

public static Load_User_Grammar ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
oRecognizer SpeechRecognitionEngine
return SpeechRecognitionEngine

Load_Voice_Grammars() public static method

public static Load_Voice_Grammars ( SpeechRecognitionEngine oRecognizer ) : SpeechRecognitionEngine
oRecognizer SpeechRecognitionEngine
return SpeechRecognitionEngine

SearchForMeaning() public static method

public static SearchForMeaning ( string str, string ScriptParameter, string sUser ) : string
str string
ScriptParameter string
sUser string
return string