クラス AsyncRecognizer

class AsyncRecognizer
  : public Recognizer

AsyncRecognizer 抽象基本クラス。

メンバー

SessionStarted

構文: public EventSignal< constSessionEventArgs & > SessionStarted;

認識セッションの開始 (操作) を示すイベントのシグナル。

SessionStopped

構文: public EventSignal< constSessionEventArgs & > SessionStopped;

認識セッションの終了 (操作) を示すイベントのシグナル。

SpeechStartDetected

構文: public EventSignal< constRecognitionEventArgs & > SpeechStartDetected;

音声の開始を示すイベントのシグナル。

SpeechEndDetected

構文: public EventSignal< constRecognitionEventArgs & > SpeechEndDetected;

音声の終了を示すイベントのシグナル。

認識

構文: public EventSignal< constRecoEventArgs & > Recognizing;

中間認識結果を含むイベントのシグナル。

認識されている

構文: public EventSignal< constRecoEventArgs & > Recognized;

最終的な認識結果を含むイベントのシグナル。 (認識試行が成功したことを示します)。

Canceled

構文: public EventSignal< constRecoCanceledEventArgs & > Canceled;

取り消された認識結果を含むイベントのシグナル (結果として取り消された認識の試行、または直接の取り消し要求、またはトランスポートまたはプロトコルの失敗を示します)。

RecognizeOnceAsync

構文: public std::future< std::shared_ptr< RecoResult > > RecognizeOnceAsync ( );

非ブロッキング (非同期) モードで認識を実行します。

戻り値

非同期認識の結果値 (RecoResult への共有ポインター) を含む将来。

StartContinuousRecognitionAsync

構文: public std::future< void > StartContinuousRecognitionAsync ( );

継続的な認識操作を非同期的に開始します。

戻り値

空の未来。

StopContinuousRecognitionAsync

構文: public std::future< void > StopContinuousRecognitionAsync ( );

継続的な継続的認識操作を非同期的に終了します。

戻り値

空の未来。

StartKeywordRecognitionAsync

構文: public std::future< void > StartKeywordRecognitionAsync ( std::shared_ptr< KeywordRecognitionModel > model );

認識操作キーワード (keyword)非同期的に開始します。

パラメーター

  • model認識するキーワード (keyword)を指定するキーワード (keyword)認識モデル。

戻り値

キーワード (keyword)認識を開始する非同期操作。

StopKeywordRecognitionAsync

構文: public std::future< void > StopKeywordRecognitionAsync ( );

進行中のキーワード (keyword)認識操作を非同期的に終了します。

戻り値

空の未来。