DocumentAnalysisModelFactory.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.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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET