Class TextExtractionElement
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Represents an element used in text extraction processes, encapsulating metadata such as name, type, description, and optional nested elements for complex data structures.
public sealed class TextExtractionElement
- Inheritance
-
TextExtractionElement
- Inherited Members
Remarks
The TextExtractionElement class is designed to model elements within a text extraction schema. It supports simple data types as well as complex types with nested elements, enabling the representation of hierarchical data models.
Constructors
- TextExtractionElement(string, ElementType, string)
Initializes a new instance of the TextExtractionElement class representing a simple data element.
- TextExtractionElement(string, IEnumerable<TextExtractionElement>, bool, string)
Initializes a new instance of the TextExtractionElement class representing a complex object or an array with nested elements.
Properties
- Description
Gets the descriptive text associated with the extraction element.
- ElementType
Gets the data type of the extraction element.
- Format
Gets the format settings applied to this extraction element.
- InnerElements
Gets a read-only list of nested TextExtractionElement instances if this element contains inner elements.
- IsArray
Gets a value indicating whether this element represents an array.
- IsArrayOfObject
Gets a value indicating whether this element represents an array of objects.
- IsObject
Gets a value indicating whether this element represents a complex object with nested elements.
- Name
Gets the original name of the extraction element.