Table of Contents

Method GetSupportedLanguages

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

GetSupportedLanguages()

Returns the list of languages supported by the underlying language model.

public List<string> GetSupportedLanguages()

Returns

List<string>

A list of ISO language codes.

Examples

var langs = engine.GetSupportedLanguages();
Console.WriteLine(string.Join(", ", langs));

Exceptions

NotSupportedException

Thrown if the model weights do not support language enumeration.