你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentAnalysisModelFactory.AnalyzedDocument 方法

定义

初始化 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

参数

documentType
String

文档类型。

boundingRegions
IEnumerable<BoundingRegion>

覆盖文档的边界区域。

spans
IEnumerable<DocumentSpan>

文档在阅读顺序中串联的内容的位置。

fields
IReadOnlyDictionary<String,DocumentField>

命名字段值的字典。

confidence
Single

正确提取文档的置信度。

返回

用于模拟的新 AnalyzedDocument 实例。

适用于