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 ExtractionResult

Classe ExtractionResult, representando o resultado da extração de uma parte de um documento.

ExtractionResult é uma classe pública que representa o resultado da extração de uma parte de um documento.

Definição

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

Description

Uma classe pública que representa um resultado de extração para uma parte de um documento.

Membros

Construtores

ExtractionResult() - Inicializa uma nova instância da classe ExtractionResult sem argumentos.

Métodos

  • AsClassificationResult() - Returns a ClassificationResult generated using the information from the ExtractionResult object.
  • AsDataSet(bool includeConfidence = false) - Returns a System.Data.DataSet containing multiple System.Data.DataTable in the .Tables collection. This collection contains a table called Simple Fields, that contains all fields as columns and all reported values for a field as values in the table. If a field has no value in the ExtractionResult, then no value is reported. If a table field has a value, it is reported as the string table, which is a marker of the fact that there is a DataTable with the field name that contains column fields as columns, and values for each row as values in the DataTable.
  • AsDataSet(bool includeConfidence = false, bool includeOcrConfidence = false) - Returns a System.Data.DataSet containing multiple System.Data.DataTable in the .Tables collection. This collection contains a table called Simple Fields, that contains all fields as columns and all reported values for a field as values in the table. If a field has no value in the ExtractionResult, then no value is reported. If a table field has a value, it is reported as the string table, which is a marker of the fact that there is a DataTable with the field name that contains column fields as columns, and values for each row as values in the DataTable.
  • Deserialize(string jsonString) - A static method that returns a new instance of the ExtractionResult class with the contents serialized in the input string.
  • EnumerateValues(Func<ResultsValue, bool> condition = null) - Lets you iterate over all values in the results document, including table cell values.
  • FlattenFields(Func<ResultsDataPoint, bool> condition = null) - Flattens the fields in the ResultsDocument and filters them based on the condition.
    AVISO:

    Este método está obsoleto.

  • GetDocumentType() - Retorna uma string contendo o DocumentTypeId do objeto ExtractionResult .
  • GetFields(Func<ResultsDataPoint, bool> condition = null) - Filters the fields in the ResultsDocument that satisfy the condition.
  • GetField(string fieldId) - Returns the field with the specified field ID or null if it doesn't exist.
  • GetSimpleFieldValues(string fieldId) - Returns a list of SimpleFieldValue for the input fieldId.
  • GetTable(string fieldId) - Returns the table with the specified id or null if it doesn't exist.
  • GetTableFieldValue(string fieldId, int valueIndex = 0) - Returns a TableFieldValue containing cell values for the required fieldId. By default, valueIndex is set to 0.
  • IsAnyFieldOrTableCellMissing() - Determines whether there is any data point or table cell which doesn't have values.
    Observação:

    Only a single value for a table field is supported. The valueIndex can therefore only be set to 0.

  • GetValueCount(string fieldId) - Returns an integer containing the number of values associated with the provided fieldId.
  • Serialize() - Returns a string containing the serialized representation of the ExtractionResult object.
  • GetFieldValidatorNotes(string fieldId) - Returns the field value containing validator notes with the specified field id, or null if it doesn't exist.
  • SetFieldValidatorNotes(string fieldId, string validatorNotes) - Set the validator notes for the field with the specified field ID, if notes are activated for that field.
  • GetFieldValidatorNotesInfo(string fieldId) - Returns the validator notes info for the field with the specified field id, or null if it doesn't exist.
  • SetFieldValidatorNotesInfo(string fieldId, string validatorNotesInfo) - Set the validator notes for the field with the specified field ID, if notes are activated for that field.
  • GetFieldValidatorNotesInfoByFieldName(string fieldName) - Returns the validator notes info for the field with the specified field name, or null if it doesn't exist.
  • SetFieldValidatorNotesInfoByFieldName(string fieldName, string validatorNotesInfo) - Set the validator notes info for the field with the specified field name, if notes are activated for that field.

Propriedades

  • DocumentId String — o nome do documento para o qual os resultados da extração são relatados.
  • ExtractorPayloads ExtractorPayload[] - Informações adicionais fornecidas pelos extratores.
  • ResultsDocument UiPath.DocumentProcessing.Contracts.Results.ResultsDocument – Os detalhes da estrutura de extração de dados e classificação.
  • ResultsVersion Int - A versão do ExtractionResult relatada para o documento. Inicia em 0 quando a extração automática é realizada e deve ser aumentada em um a cada vez que o conteúdo do objeto for alterado, para fins de rastreamento.
  • 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