C# 클래스 Planetarium_Plugin.SpeechRecognition

파일 보기 프로젝트 열기: coachlab/Planetarium-PowerPoint-Plugin 1 사용 예제들

공개 메소드들

메소드 설명
BuildGrammar ( ) : Grammar

Buils the grammar for the dictionary

Pause ( ) : void

Pause speech

ShowSlides ( string phrase ) : void

Display the slides

SpeechRecognition ( SpeechRecognitionEngine sr, List words, string location, string dictionaryName, decimal accuracy ) : System

Constructor method

Start ( ) : void

Start the speech recognition

Stop ( ) : void

Stop speech recognition

getGrammar ( ) : Choices

Converts words to grammar format

비공개 메소드들

메소드 설명
StartSlideShow ( ) : void
sr_SpeechRecognized ( object sender, SpeechRecognizedEventArgs e ) : void

SpeechRecognition event

메소드 상세

BuildGrammar() 공개 메소드

Buils the grammar for the dictionary
public BuildGrammar ( ) : Grammar
리턴 Grammar

Pause() 공개 메소드

Pause speech
public Pause ( ) : void
리턴 void

ShowSlides() 공개 메소드

Display the slides
public ShowSlides ( string phrase ) : void
phrase string the phrase that is spoken.
리턴 void

SpeechRecognition() 공개 메소드

Constructor method
public SpeechRecognition ( SpeechRecognitionEngine sr, List words, string location, string dictionaryName, decimal accuracy ) : System
sr SpeechRecognitionEngine Receives a SpeechRegonition obj.
words List
location string Location.
dictionaryName string The dictionary name.
accuracy decimal
리턴 System

Start() 공개 메소드

Start the speech recognition
public Start ( ) : void
리턴 void

Stop() 공개 메소드

Stop speech recognition
public Stop ( ) : void
리턴 void

getGrammar() 공개 메소드

Converts words to grammar format
public getGrammar ( ) : Choices
리턴 Choices