Click or drag to resize

SpeechToText Class

Base class for Speech-to-text.
Inheritance Hierarchy
SystemObject
  DisposableClass
    AbstractMediaReceiverAudioData, AudioFormat
      AudioReceiver
        Ozeki.MediaSpeechToText
          Ozeki.MediaSpeechToTextContinuous
          Ozeki.MediaSpeechToTextVAD

Namespace:  Ozeki.Media
Assembly:  OzekiSDK (in OzekiSDK.dll) Version: 10.3.183.0
Syntax
public abstract class SpeechToText : AudioReceiver

The SpeechToText type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyBufferStream
Public propertyChoices
Gets the words that can be recognized by the speech engine.
Public propertyConverterType (Inherited from AudioReceiver.)
Public propertyID (Inherited from DisposableClass.)
Protected propertyIsRecognizing
Protected propertyLastRecognizedPosition
Protected propertyLogger
Public propertyReceiveFormats (Inherited from AbstractMediaReceiverAudioData, AudioFormat.)
Protected propertyRecognitionStream
Public propertySpeechEngine
Gets the underlying speech-to-text engine that will be used for word detection.
Protected propertySync
Top
Methods
  NameDescription
Public methodChangeRecognizer
Changes the language of the recognizer in the speech-to-text engine.
Public methodChangeSTTEngine
Protected methodCheckPrevSegmentCopyLength
Public methodStatic memberCreateInstance
Initializes a speech recognizer and STT instance with voice activity detection.
Public methodStatic memberCreateInstance(AudioFormat)
Initializes a speech recognizer and STT instance with voice activity detection.
Public methodStatic memberCreateInstance(IEnumerableString)
Initializes a speech recognizer and STT instance.
Public methodStatic memberCreateInstance(AudioFormat, IEnumerableString)
Initializes a speech recognizer and STT instance.
Public methodStatic memberCreateInstance(IEnumerableString, WordDetectionMode)
Initializes a speech recognizer and STT instance.
Public methodStatic memberCreateInstance(AudioFormat, IEnumerableString, WordDetectionMode)
Initializes a speech recognizer and STT instance.
Public methodDispose (Inherited from DisposableClass.)
Protected methodDispose(Boolean)
Disposes the object.
(Overrides DisposableClass.Dispose(Boolean).)
Protected methodFinalize (Inherited from DisposableClass.)
Public methodGetRecognizers
Retrieves the available speech recognizers.
Protected methodOnDataReceived (Inherited from AbstractMediaReceiverAudioData, AudioFormat.)
Public methodReset
Resets the state of the speech-to-text.
Protected methodSenderConnected (Inherited from AudioReceiver.)
Protected methodSenderDisconnected (Inherited from AudioReceiver.)
Protected methodSetReceiveFormats (Inherited from AbstractMediaReceiverAudioData, AudioFormat.)
Protected methodSpeechEngine_RecognitionCompleted
Protected methodStartRecognition
Top
Events
  NameDescription
Public eventReceiveFormatsChanged (Inherited from AbstractMediaReceiverAudioData, AudioFormat.)
Public eventSpeechDetected
Occurs when speech is detected from the audio stream.
Public eventWordHypothesized
Occurs when some words are recognized hypothetically from the audio stream.
Public eventWordRecognized
Occurs when some words are recognized from the audio stream.
Top
Fields
  NameDescription
Protected fieldformat
Top
See Also