C# Class LitDev.LDSpeech

Show file Open project: litdev1/LitDev

Private Properties

Property Type Description
_SpeechDetectedEvent void
_SpeechHypothesizedEvent void
_SpeechRecognitionEvent void
setGrammar void

Public Methods

Method Description
Speak ( Primitive text ) : void

Speak some text.

Vocabulary ( Primitive dictionary ) : void

Set a vocabulary of words and phrases for the speech regonition to use. If this is unset, then a large language vocabulary is used and the results will generally be less good (unusable). Also distinct phrases can have a better recognition than single words.

Voices ( ) : Primitive

Returns an array of available voices.

Private Methods

Method Description
_SpeechDetectedEvent ( Object sender, SpeechDetectedEventArgs e ) : void
_SpeechHypothesizedEvent ( Object sender, SpeechHypothesizedEventArgs e ) : void
_SpeechRecognitionEvent ( Object sender, SpeechRecognizedEventArgs e ) : void
setGrammar ( ) : void

Method Details

Speak() public static method

Speak some text.
public static Speak ( Primitive text ) : void
text Primitive /// Text to be spoken. ///
return void

Vocabulary() public static method

Set a vocabulary of words and phrases for the speech regonition to use. If this is unset, then a large language vocabulary is used and the results will generally be less good (unusable). Also distinct phrases can have a better recognition than single words.
public static Vocabulary ( Primitive dictionary ) : void
dictionary Primitive /// An array of words or phrases to be recognised. /// If it is empty, then the default language vocabulary is used. ///
return void

Voices() public static method

Returns an array of available voices.
public static Voices ( ) : Primitive
return Primitive