Table of Contents

Class FieldExtractionRule

Namespace
AiDotNet.Postprocessing.Document
Assembly
AiDotNet.dll

Rule for extracting a field from document text.

public class FieldExtractionRule
Inheritance
FieldExtractionRule
Inherited Members

Properties

DataType

Expected data type.

public DataType DataType { get; set; }

Property Value

DataType

DefaultValue

Default value if extraction fails.

public object? DefaultValue { get; set; }

Property Value

object

FieldName

Name of the field to extract.

public string FieldName { get; set; }

Property Value

string

Labels

Labels that might precede the value.

public IList<string>? Labels { get; set; }

Property Value

IList<string>

Pattern

Regex pattern for extraction.

public string? Pattern { get; set; }

Property Value

string