Table of Contents

Field NormalizedText

Namespace
LMKit.Extraction.Ocr
Assembly
LM-Kit.NET.dll

Gets the completion after model-aware and intent-aware post-processing: the exact text that was projected into PageElement.

public readonly string NormalizedText

Returns

string
Gets the completion after model-aware and intent-aware post-processing: the exact text that was projected into .

Examples

var ocr = new VlmOcr(model, VlmOcrIntent.TableRecognition);
var result = ocr.Run(attachment, pageIndex: 0);

// Consistent <table> markup, whichever VLM family served it.
Console.WriteLine(result.NormalizedText);

Remarks

Use this when the markup itself is the result, for example the HTML table produced by TableRecognition or ChartRecognition. It is normalised to a consistent shape across model families, unlike TextGeneration's raw completion, and it retains structural markup that PageElement does not surface as text.

Share