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

DocumentAnalysisModelFactory.DocumentWord 方法

定义

初始化 DocumentWord 的新实例。

public static Azure.AI.FormRecognizer.DocumentAnalysis.DocumentWord DocumentWord(string content = default, System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> boundingPolygon = default, Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan span = default, float confidence = 0);
static member DocumentWord : string * System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> * Azure.AI.FormRecognizer.DocumentAnalysis.DocumentSpan * single -> Azure.AI.FormRecognizer.DocumentAnalysis.DocumentWord
Public Shared Function DocumentWord (Optional content As String = Nothing, Optional boundingPolygon As IReadOnlyList(Of PointF) = Nothing, Optional span As DocumentSpan = Nothing, Optional confidence As Single = 0) As DocumentWord

参数

content
String

单词的文本内容。

boundingPolygon
IReadOnlyList<PointF>

单词的边界多边形。

span
DocumentSpan

单词在阅读顺序中连接内容的位置。

confidence
Single

正确提取单词的置信度。

返回

用于模拟的新 DocumentWord 实例。

适用于