Constructor SpeechToText
SpeechToText(LM)
Initializes a new instance of the SpeechToText class.
public SpeechToText(LM model)Parameters
Examples
var model = LM.LoadFromModelID("whisper-large-turbo3");
var engine = new SpeechToText(model);Exceptions
- ArgumentNullException
- If - modelis null.
- InvalidModelException
- If the provided model does not support speech-to-text.