Table of Contents

Method GetTextExtractionResultFromElements

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

GetTextExtractionResultFromElements(IList<TextExtractionElement>, string)

Constructs a TextExtractionResult from an existing collection of TextExtractionElement and a JSON result string.

public static TextExtractionResult GetTextExtractionResultFromElements(IList<TextExtractionElement> elements, string jsonResult)

Parameters

elements IList<TextExtractionElement>

The list of TextExtractionElement definitions.

jsonResult string

The JSON string containing the extraction output to be parsed.

Returns

TextExtractionResult

A TextExtractionResult representing the mapped extraction values.