Table of Contents

Constructor ExtractedDocument

Namespace
Qavren.Edge.Ingestion
Assembly
Qavren.Edge.Ingestion.dll

ExtractedDocument(string, string, int, string, string, IReadOnlyList<DocumentBlock>, IReadOnlyDictionary<string, string>, int?, bool, IReadOnlyList<IngestionFailure>?)

One normalised text buffer plus blocks indexing into it. CRLF and lone CR to LF, NFC, BOM stripped, when NormalizeText is on (spec 6).

public ExtractedDocument(string DocumentId, string ExtractorId, int ExtractorVersion, string MediaType, string Text, IReadOnlyList<DocumentBlock> Blocks, IReadOnlyDictionary<string, string> Metadata, int? PageCount = null, bool HasTextLayer = true, IReadOnlyList<IngestionFailure>? Warnings = null)

Parameters

DocumentId string
ExtractorId string
ExtractorVersion int
MediaType string
Text string
Blocks IReadOnlyList<DocumentBlock>
Metadata IReadOnlyDictionary<string, string>
PageCount int?
HasTextLayer bool
Warnings IReadOnlyList<IngestionFailure>