Table of Contents

Property Label

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

Label

Gets the descriptive label assigned by the language model for this document segment (e.g., "Invoice", "Cover Letter", "Contract").

public string Label { get; }

Property Value

string

A non-null string describing the type of document detected by the model.

Examples

foreach (DocumentSegment segment in result.Segments)
{
    Console.WriteLine($"Document type: {segment.Label}");
}
Share