Class TextExtractionElementFormat
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Defines the formatting options for text extraction elements, including case conversion, spacing character handling, maximum length constraints, prefix trimming, and allowed-value restrictions.
public sealed class TextExtractionElementFormat- Inheritance
- 
      
      TextExtractionElementFormat
- Inherited Members
Remarks
You can configure instances either by importing from JSON or by using the high-level API.
Properties
- AllowedValues
- Gets or sets a list of acceptable values for text extraction. 
- CaseMode
- Gets or sets the case mode to apply to the extracted text. 
- DisableSpacingCharacters
- Gets or sets a value indicating whether spacing characters (spaces, tabs, newlines) should be removed from the extracted text. 
- FormatHint
- Gets or sets the format this element should attempt to follow. 
- MaxLength
- Gets or sets the maximum number of characters allowed in the extracted text. A value of -1 indicates no limit. 
- TrimStartValues
- Gets or sets a list of string prefixes to remove from the start of extracted text. Prefixes are sorted by descending length so the longest match is trimmed first.