Table of Contents

Class TextPostprocessorOptions

Namespace
AiDotNet.Postprocessing.Document
Assembly
AiDotNet.dll

Options for text postprocessing.

public class TextPostprocessorOptions
Inheritance
TextPostprocessorOptions
Inherited Members

Properties

ApplySpellCorrection

Whether to apply spell correction. Default: false.

public bool ApplySpellCorrection { get; set; }

Property Value

bool

FixCommonOcrErrors

Whether to fix common OCR errors. Default: true.

public bool FixCommonOcrErrors { get; set; }

Property Value

bool

MergeBrokenLines

Whether to merge incorrectly broken lines. Default: true.

public bool MergeBrokenLines { get; set; }

Property Value

bool

NormalizeCharacters

Whether to normalize special characters. Default: true.

public bool NormalizeCharacters { get; set; }

Property Value

bool

NormalizeWhitespace

Whether to normalize whitespace. Default: true.

public bool NormalizeWhitespace { get; set; }

Property Value

bool

RemoveControlCharacters

Whether to remove control characters. Default: true.

public bool RemoveControlCharacters { get; set; }

Property Value

bool

RemoveDuplicateSpaces

Whether to remove duplicate spaces. Default: true.

public bool RemoveDuplicateSpaces { get; set; }

Property Value

bool