UiPath Documentation
activities
latest
false
Document Understanding 活动
重要 :
请注意,此内容已使用机器翻译进行了部分本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。

结果值类

ResultsValue 类,表示为提取结果中的字段报告的值。

定义

  • 命名空间: UiPath.DocumentProcessing.Contracts.Results
  • 程序集: UiPath.DocumentProcessing.Contracts

描述

一个公共类,表示为提取结果中的字段报告的值。

成员

构造函数

  • ResultsValue(string value, string unformattedValue, ResultsContentReference reference, float confidence, float ocrConfidence) - 创建一个自动提取的简单 ResultsValue
    • value (String) - 报告的文本值。
    • unformattedValue (String) - 报告的无格式字符串值。
    • reference ( ResultsContentReference ) - 报告值的引用。
    • confidence (Single) - 介于 01 之间的值,表示报告值的置信度。
    • ocrConfidence (Single) - 介于 01 之间的值,表示所报告值的 OCR 可信度。
  • ResultsValue(string value, ResultsContentReference reference, float confidence, float ocrConfidence) - 使用设置的值及其相应的引用和置信度级别初始化 ResultsValue 类的新实例。
    • valuereferenceconfidenceocrConfidence - 同上。
  • ResultsValue(string value, string unformattedValue, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence) - 创建一个自动提取的简单 ResultsValue,其中包含派生部分。
    • derivedFields ( ResultsDerivedField[] ) - 派生部分的列表,因分类中定义的字段类型而异。
    • valueunformattedValuereferenceconfidenceocrConfidence - 与上述相同。
  • ResultsValue(string value, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence) - 使用设置的值及其相应的引用和置信度级别初始化 ResultsValue 类的新实例,同时在 DerivedParts 中设置格式化的值。
    • valuereferencederivedFieldsconfidenceocrConfidence - 与上述相同。
  • ResultsValue(string value, string unformattedValue, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed) - 使用派生部分创建 ResultsValue,同时设置 OperatorConfirmed 标志。
    • operatorConfirmedBoolean)- 指示该值是否已由人工审核者确认。
    • valueunformattedValuereferencederivedFieldsconfidenceocrConfidence - 同上。
  • ResultsValue(ResultsDataPoint[] components, float confidence, float ocrConfidence) - 用于表格,使用 ResultsValue 参数和相应的置信度级别初始化 components 类的新实例。
    • components ( ResultsDataPoint[] ) - 子字段及其各自的值。
    • confidenceocrConfidence - 同上。
  • ResultsValue(string value, ResultsDataPoint[] components, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed) - 使用 valuecomponents(对于表格)、referencederivedFieldsconfidenceOperatorConfirmed 标志初始化 ResultsValue 类的新实例。
    • valuecomponentsreferencederivedFieldsconfidenceocrConfidenceoperatorConfirmed - 同上。
  • ResultsValue(string value, string unformattedValue, ResultsDataPoint[] components, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed)- 使用ResultsValue valueunformattedValuecomponents (对于表格)、reference derivedFieldsconfidence 、 以及OperatorConfirmed 标志。
    • valueunformattedValuecomponentsreferencederivedFieldsconfidenceocrConfidenceoperatorConfirmed - 同上。

方法

  • CreateTableValue(Field tableField, IEnumerable<ResultsDataPoint> headerCells, IEnumerable<IEnumerable<ResultsDataPoint>> bodyCells, float confidence, float ocrConfidence) - 根据提供的参数生成与预定义表格和正文单元格的表格字段对应的 ResultsValue。利用 headerValue 构建必要的 headerCells,并利用 bodyValues 构建必要的 bodyCells
    警告:

    此方法已过时。

  • CreateTableValue(Field tableField, ResultsValue headerValue, IEnumerable<ResultsValue> bodyValues, float confidence, float ocrConfidence) - 生成与具有预定义的表格值和正文行值的表格字段相对应的 ResultsValue
    警告:

    此方法已过时。

  • CreateWithCustomAreaReference(string newValue, int pageIndex, Box area, float confidence, float ocrConfidence, Document document, TextType textType) - 创建使用自定义区域引用的值。
  • CreateWithNoReference(string newValue, float confidence, float ocrConfidence) - 创建不带引用的值。
  • CreateWithWordsReference(string newValue, int pageIndex, Box area, float confidence, float ocrConfidence, Document document) - 创建一个引用在指定区域中找到的字词的值。此方法将查找与所提供区域重叠的任何字词,并将这些字词添加到值引用中。

属性

  • Components ( ResultsDataPoint[] ) - 子字段及其各自的值。
  • Confidence float - 介于01之间的值,表示所报告字段值的置信度。
  • DerivedFields ( ResultsDerivedField[] ) - 派生部分的列表,因分类中定义的字段类型而异。
  • OcrConfidence float - 介于 0 和 1 之间的值,表示所报告字段值的 OCR 可信度。
  • OperatorConfirmed bool - 可用于验证该值是否已经过人工审核。
  • Reference UiPath.DocumentProcessing.Contracts.Results.ResultsContentReference - 报告值的引用。
  • TextType UiPath.DocumentProcessing.Contracts.Dom.TextType - 提供所提取值的文本来源。
  • UnformattedValue string - 报告的无格式字符串值。
  • Value string - 报告的文本值。
  • ValidatorNotes String - 输入的文本、选定的选项或空字符串。默认值为空字符串。
  • ValidatorNotesInfo String - ValidatorNotes 的说明。默认值为空字符串。
  • 定义
  • 描述
  • 成员
  • 构造函数
  • 方法
  • 属性

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新