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
FixCommonOcrErrors
Whether to fix common OCR errors. Default: true.
public bool FixCommonOcrErrors { get; set; }
Property Value
MergeBrokenLines
Whether to merge incorrectly broken lines. Default: true.
public bool MergeBrokenLines { get; set; }
Property Value
NormalizeCharacters
Whether to normalize special characters. Default: true.
public bool NormalizeCharacters { get; set; }
Property Value
NormalizeWhitespace
Whether to normalize whitespace. Default: true.
public bool NormalizeWhitespace { get; set; }
Property Value
RemoveControlCharacters
Whether to remove control characters. Default: true.
public bool RemoveControlCharacters { get; set; }
Property Value
RemoveDuplicateSpaces
Whether to remove duplicate spaces. Default: true.
public bool RemoveDuplicateSpaces { get; set; }