Table of Contents

Property OriginalValue

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

OriginalValue

Gets the value the model wrote before the engine repaired or rejected it.

public string OriginalValue { get; }

Property Value

string

The raw extracted value when Status is Repaired (the value was corrected), or when it is Invalid and the engine dropped the value (it did not match its expected format, or it reads like a placeholder with no document text to check it against); otherwise null.

Examples

if (element.Validation.Status == EntityValidationStatus.Repaired)
{
    Console.WriteLine($"Original: {element.Validation.OriginalValue}");
    Console.WriteLine($"Repaired: {element.Value}");
}
Share