Table of Contents

Property DefaultLanguage

Namespace
LMKit.Integrations.Tesseract
Assembly
LM-Kit.NET.dll

DefaultLanguage

Gets or sets the default ISO 639-2/T language code used when a specific language model is not available or language detection is disabled.

public string DefaultLanguage { get; set; }

Property Value

string

A supported ISO 639-2/T language code. The default is "eng".

Remarks

Supported language codes are:

ara, hye, bul, chi_sim, chi_tra, hrv, ces, dan, nld, eng, fin, fra, deu, heb, hin, hun, ind, ita, jpn, kor, ell, nor, pol, por, ron, rus, srp, slk, spa, swe, tha, tur, ukr, vie.

Exceptions

ArgumentException

Thrown if the specified language code is not in the list of supported codes.