Table of Contents

Constructor SpeechToText

Namespace
LMKit.Speech
Assembly
LM-Kit.NET.dll

SpeechToText(LM)

Initializes a new instance of the SpeechToText class.

public SpeechToText(LM model)

Parameters

model LM

An LM instance with speech-to-text capability.

Examples

var model = LM.LoadFromModelID("whisper-large-turbo3");
var engine = new SpeechToText(model);

Exceptions

ArgumentNullException

If model is null.

InvalidModelException

If the provided model does not support speech-to-text.