다음을 통해 공유


DocumentAnalysisModelFactory.AnalyzedDocument Method

Definition

Initializes a new instance of AnalyzedDocument.

public static Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzedDocument AnalyzedDocument (string documentType = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> spans = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField> fields = default, float confidence = 0);
static member AnalyzedDocument : string * seq<Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion> * seq<Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentField> * single -> Azure.AI.FormRecognizer.DocumentAnalysis.AnalyzedDocument
Public Shared Function AnalyzedDocument (Optional documentType As String = Nothing, Optional boundingRegions As IEnumerable(Of BoundingRegion) = Nothing, Optional spans As IEnumerable(Of DocumentSpan) = Nothing, Optional fields As IReadOnlyDictionary(Of String, DocumentField) = Nothing, Optional confidence As Single = 0) As AnalyzedDocument

Parameters

documentType
String

Document type.

boundingRegions
IEnumerable<BoundingRegion>

Bounding regions covering the document.

spans
IEnumerable<DocumentSpan>

Location of the document in the reading order concatenated content.

fields
IReadOnlyDictionary<String,DocumentField>

Dictionary of named field values.

confidence
Single

Confidence of correctly extracting the document.

Returns

A new AnalyzedDocument instance for mocking.

Applies to