Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

TesseractLanguageData

OfficeIMO.Ocr.Tesseract

Namespace
OfficeIMO.Ocr.Tesseract
Assembly
OfficeIMO.Ocr.Tesseract
Source revision
063fe3ee9839 with working tree changes
Modifiers
static

Curated, immutable Tesseract fast-language provisioning for the default OfficeIMO languages.

Inheritance

  • object
  • TesseractLanguageData

Methods

public static Task<TesseractLanguageDataResult> EnsureAsync(string languageExpression = "eng", TesseractLanguageDataOptions? options = null, CancellationToken cancellationToken = default) #

Ensures every language in a Tesseract expression such as eng+pol exists in a private versioned cache. Network access occurs only for missing or corrupt files and every payload must match the built-in SHA-256 digest.

Parameters

languageExpression string = "eng" optional
options OfficeIMO.Ocr.Tesseract.TesseractLanguageDataOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional

Properties

public static string Version { get; } #

Immutable tessdata_fast commit used by the built-in catalog.

public static IReadOnlyList<string> SupportedLanguages { get; } #

Language identifiers available through the checksum-pinned built-in catalog.