UiPath Documentation
activities
latest
false
Actividades de Document Understanding
Importante :
Este contenido se ha localizado parcialmente a partir de un sistema de traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

Clase ResultadoDeExtracción

Clase ExtractionResult, que representa el resultado de la extracción de una parte de un documento.

ExtractionResult es una clase pública que representa un resultado de extracción para una parte de un documento.

Definición

  • Espacio de nombres: UiPath.DocumentProcessing.Contracts.Results
  • Ensamblado: UiPath.DocumentProcessing.Contracts

Descripción

Una clase pública que representa el resultado de la extracción de una parte de un documento.

Miembros

Constructores

ExtractionResult() : inicializa una nueva instancia de la clase ExtractionResult sin 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.
    ADVERTENCIA:

    Este método está obsoleto.

  • GetDocumentType() : devuelve una cadena que contiene el DocumentTypeId del 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.
    Nota:

    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.

Propiedades

  • DocumentId String : el nombre del documento para el que se notifican los resultados de la extracción.
  • ExtractorPayloads ExtractorPayload[] : información adicional proporcionada por los extractores.
  • ResultsDocument UiPath.DocumentProcessing.Contracts.Results.ResultsDocument : los detalles de la estructura de clasificación y extracción de datos.
  • ResultsVersion Int : la versión de ExtractionResult notificada para el documento. Comienza en 0 cuando se realiza la extracción automática y debe aumentarse en uno cada vez que se cambia el contenido del objeto, con fines de seguimiento.
  • Definición
  • Descripción
  • Miembros
  • Constructores
  • Métodos
  • Propiedades

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado