NTSpeechRecognizerDelegate Protocol Reference

Conforms to NSObject
Declared in NTSpeechRecognizer.h

Overview

Delegate used to notify on state changes and received hypotheses.

– speechRecognizer:didChangeListeningState:

Is called if the listening state of the recognizer changes.

- (void)speechRecognizer:(id<NTSpeechRecognizer>)speechRecognizer didChangeListeningState:(BOOL)isListening

Parameters

speechRecognizer

The recognizer that triggered the event.

isListening

The listening state of the recognizer.

Discussion

Is called if the listening state of the recognizer changes.

Declared In

NTSpeechRecognizer.h

– speechRecognizer:didReceiveHypothesis:forSearch:

Is called when recognizer detected the end of utterance and received a hypothesis.

- (void)speechRecognizer:(id<NTSpeechRecognizer>)speechRecognizer didReceiveHypothesis:(NTHypothesis *)hypothesis forSearch:(NTSpeechSearch *)search

Parameters

speechRecognizer

The recognizer that found the hyp.

hypothesis

The found hypothesis.

search

The search which was active when the hyp was recognized.

Discussion

Is called when recognizer detected the end of utterance and received a hypothesis.

Declared In

NTSpeechRecognizer.h

– speechRecognizer:didReceivePartialHypothesis:forSearch:

Is called when recognizer found speech and received a hypothesis.

- (void)speechRecognizer:(id<NTSpeechRecognizer>)speechRecognizer didReceivePartialHypothesis:(NTHypothesis *)hypothesis forSearch:(NTSpeechSearch *)search

Parameters

speechRecognizer

The recognizer that found the hyp.

hypothesis

The found hypothesis.

search

The search which was active when the hyp was recognized.

Discussion

Is called when recognizer found speech and received a hypothesis.

Declared In

NTSpeechRecognizer.h