Table of Contents

Method GetModelCards

Namespace
LMKit.Document.Parsing
Assembly
LM-Kit.NET.dll

GetModelCards(ParsingEffort)

The model the parser runs on at an effort level, as an entry of the model catalog (none at Minimal, which reads with no model): what a caller passes to DocumentParser(ParsingEffort, string) or, loaded, to DocumentParser(ParsingEffort, LM), or downloads ahead of time for a machine that parses offline (Download(ModelDownloadingProgressCallback)).

public static IReadOnlyList<ModelCard> GetModelCards(ParsingEffort effort)

Parameters

effort ParsingEffort

The effort level.

Returns

IReadOnlyList<ModelCard>

The catalog entry of the model the effort level uses.

Exceptions

ArgumentOutOfRangeException

effort is not a defined level.

Share