Class ExtractionProfiler
Provides helper methods to convert JSON schemas into extraction elements and to build TextExtractionResult instances for benchmarking.
public static class ExtractionProfiler
- Inheritance
-
ExtractionProfiler
- Inherited Members
Methods
- GetElementsFromJsonSchema(string)
Parses a JSON schema string into a collection of TextExtractionElement objects.
- GetTextExtractionResultFromElements(IList<TextExtractionElement>, string)
Constructs a TextExtractionResult from an existing collection of TextExtractionElement and a JSON result string.
- GetTextExtractionResultFromJson(string, string)
Parses both a JSON schema and a JSON result string, then builds a TextExtractionResult combining both.