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.
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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for .NET