UiPath Documentation
activities
latest
false
Atividades do Document Understanding
Importante :
A tradução automática foi aplicada parcialmente neste conteúdo. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

Classe ResultsValue

Classe ResultsValue, representando um valor relatado para um campo em um resultado de extração.

Definição

  • Espaço de nomes: UiPath.DocumentProcessing.Contracts.Results
  • Montagem: UiPath.DocumentProcessing.Contracts

Description

Uma classe pública que representa um valor relatado para um campo em um resultado de extração.

Membros

Construtores

  • ResultsValue(string value, string unformattedValue, ResultsContentReference reference, float confidence, float ocrConfidence) - Creates a simple automatically extracted ResultsValue.
    • value (String) - The reported textual value.
    • unformattedValue (String) - The reported unformatted string value.
    • reference (ResultsContentReference) - The reference for the reported value.
    • confidence (Single) - A value between 0 and 1 that represents the confidence for the reported value.
    • ocrConfidence (Single) - A value between 0 and 1 that represents the OCR confidence for the reported value.
  • ResultsValue(string value, ResultsContentReference reference, float confidence, float ocrConfidence) - Initializes a new instance of the ResultsValue class with a set value and its corresponding reference and confidence levels.
    • value, reference, confidence, ocrConfidence - Same as above.
  • ResultsValue(string value, string unformattedValue, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence) - Creates a simple automatically extracted ResultsValue with derived parts.
    • derivedFields (ResultsDerivedField[]) - A list of derived parts, varying according to the field type defined in the taxonomy.
    • value, unformattedValue, reference, confidence, ocrConfidence - Same as above.
  • ResultsValue(string value, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence) - Initializes a new instance of the ResultsValue class with a set value, its corresponding reference and confidence levels, while also setting the formatted value in the DerivedParts.
    • value, reference, derivedFields, confidence, ocrConfidence - Same as above.
  • ResultsValue(string value, string unformattedValue, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed) - Creates a ResultsValue with derived parts, also setting the OperatorConfirmed flag.
    • operatorConfirmed (Boolean) - Indicates whether the value was confirmed by a human reviewer.
    • value, unformattedValue, reference, derivedFields, confidence, ocrConfidence - Same as above.
  • ResultsValue(ResultsDataPoint[] components, float confidence, float ocrConfidence) - Used for tables, initializes a new instance of the ResultsValue class with the components argument and corresponding confidence levels.
    • components (ResultsDataPoint[]) - The subfields and their respective values.
    • confidence, ocrConfidence - Same as above.
  • ResultsValue(string value, ResultsDataPoint[] components, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed) - Initializes a new instance of the ResultsValue class with value, components (in the case of tables), reference, derivedFields, confidence, as well as an OperatorConfirmed flag.
    • value, components, reference, derivedFields, confidence, ocrConfidence, operatorConfirmed - Same as above.
  • ResultsValue(string value, string unformattedValue, ResultsDataPoint[] components, ResultsContentReference reference, ResultsDerivedField[] derivedFields, float confidence, float ocrConfidence, bool operatorConfirmed) - Initializes a new instance of the ResultsValue class with value, unformattedValue, components (in the case of tables), reference, derivedFields, confidence, as well as an OperatorConfirmed flag.
    • value, unformattedValue, components, reference, derivedFields, confidence, ocrConfidence, operatorConfirmed - Same as above.

Métodos

  • CreateTableValue(Field tableField, IEnumerable<ResultsDataPoint> headerCells, IEnumerable<IEnumerable<ResultsDataPoint>> bodyCells, float confidence, float ocrConfidence) - Generates a ResultsValue corresponding to a table field with the predefined table and body cells from the provided argument. Builds the necessary headerValue out of the headerCells and the necessary bodyValues out of the bodyCells.
    AVISO:

    Este método está obsoleto.

  • CreateTableValue(Field tableField, ResultsValue headerValue, IEnumerable<ResultsValue> bodyValues, float confidence, float ocrConfidence) - Generates a ResultsValue corresponding to a table field with the predefined table value and body row values.
    AVISO:

    Este método está obsoleto.

  • CreateWithCustomAreaReference(string newValue, int pageIndex, Box area, float confidence, float ocrConfidence, Document document, TextType textType) - Creates a value with a custom area reference.
  • CreateWithNoReference(string newValue, float confidence, float ocrConfidence) - Creates a value without reference.
  • CreateWithWordsReference(string newValue, int pageIndex, Box area, float confidence, float ocrConfidence, Document document) - Creates a value which references the words found in the specified area. The method will look up any words overlapping the provided area and will add them to the value reference.

Propriedades

  • Components (ResultsDataPoint[]) - The subfields and their respective values.
  • Confidence float - Um valor entre 0 e 1 que representa a confiança para o valor do campo relatado.
  • DerivedFields (ResultsDerivedField[]) - A list of derived parts, varying according to the field type defined in the taxonomy.
  • OcrConfidence float - Um valor entre 0 e 1 que representa a confiança do OCR para o valor do campo relatado.
  • OperatorConfirmed bool – Pode ser usado para verificar se o valor foi revisado por um humano.
  • Reference UiPath.DocumentProcessing.Contracts.Results.ResultsContentReference — A referência para o valor relatado.
  • TextType UiPath.DocumentProcessing.Contracts.Dom.TextType - Fornece a origem do texto do valor extraído.
  • UnformattedValue string — o valor da string não formatada relatado.
  • Value string — O valor textual relatado.
  • ValidatorNotes String - Either the entered text, the selected option, or an empty string. Defaults to an empty string.
  • ValidatorNotesInfo String - The description of the ValidatorNotes. Defaults to an empty string.
  • Definição
  • Description
  • Membros
  • Construtores
  • Métodos
  • Propriedades

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades