C# Класс LitDev.LDSpeech

Показать файл Открыть проект

Private Properties

Свойство Тип Описание
_SpeechDetectedEvent void
_SpeechHypothesizedEvent void
_SpeechRecognitionEvent void
setGrammar void

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
_SpeechDetectedEvent ( Object sender, SpeechDetectedEventArgs e ) : void
_SpeechHypothesizedEvent ( Object sender, SpeechHypothesizedEventArgs e ) : void
_SpeechRecognitionEvent ( Object sender, SpeechRecognizedEventArgs e ) : void
setGrammar ( ) : void

Описание методов

Speak() публичный статический Метод

Speak some text.
public static Speak ( Primitive text ) : void
text Primitive /// Text to be spoken. ///
Результат void

Vocabulary() публичный статический Метод

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. ///
Результат void

Voices() публичный статический Метод

Returns an array of available voices.
public static Voices ( ) : Primitive
Результат Primitive