DocumentIntelligenceModelFactory.AnalyzedDocument Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AnalyzedDocument(String, IEnumerable<BoundingRegion>, IEnumerable<DocumentSpan>, DocumentFieldDictionary, Single)
Initializes a new instance of AnalyzedDocument.
public static Azure.AI.DocumentIntelligence.AnalyzedDocument AnalyzedDocument (string documentType = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default, Azure.AI.DocumentIntelligence.DocumentFieldDictionary fields = default, float confidence = 0);
static member AnalyzedDocument : string * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> * Azure.AI.DocumentIntelligence.DocumentFieldDictionary * single -> Azure.AI.DocumentIntelligence.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 DocumentFieldDictionary = 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
- DocumentFieldDictionary
Dictionary of named field values.
- confidence
- Single
Confidence of correctly extracting the document.
Returns
A new AnalyzedDocument instance for mocking.
Applies to
AnalyzedDocument(String, IEnumerable<BoundingRegion>, IEnumerable<DocumentSpan>, IReadOnlyDictionary<String,DocumentField>, Single)
Initializes a new instance of AnalyzedDocument.
public static Azure.AI.DocumentIntelligence.AnalyzedDocument AnalyzedDocument (string docType = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.BoundingRegion> boundingRegions = default, System.Collections.Generic.IEnumerable<Azure.AI.DocumentIntelligence.DocumentSpan> spans = default, System.Collections.Generic.IReadOnlyDictionary<string,Azure.AI.DocumentIntelligence.DocumentField> fields = default, float confidence = 0);
static member AnalyzedDocument : string * seq<Azure.AI.DocumentIntelligence.BoundingRegion> * seq<Azure.AI.DocumentIntelligence.DocumentSpan> * System.Collections.Generic.IReadOnlyDictionary<string, Azure.AI.DocumentIntelligence.DocumentField> * single -> Azure.AI.DocumentIntelligence.AnalyzedDocument
Public Shared Function AnalyzedDocument (Optional docType 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
- docType
- 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
Azure SDK for .NET