UiPath Documentation
activities
latest
false
Activités Document Understanding
Important :
Veuillez noter que ce contenu a été localisé en partie à l’aide de la traduction automatique. La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Classe RésultatExtraction

Classe RésultatExtraction, représentant le résultat d’extraction d’une partie d’un document.

ExtractionResult est une classe publique qui représente un résultat d'extraction pour une partie d'un document.

Définition

  • Espace de noms : UiPath.DocumentProcessing.Contracts.Results
  • Assemblage : UiPath.DocumentProcessing.Contracts

Description

Classe publique qui représente un résultat d'extraction pour une partie d'un document.

Membres

Constructeurs

ExtractionResult() : initialise une nouvelle instance de la classe ExtractionResult sans arguments.

Méthodes

  • 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.
    Avertissement :

    Cette méthode est obsolète.

  • GetDocumentType() : renvoie une chaîne contenant le DocumentTypeId de l'objet 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.
    Remarque :

    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.

Propriétés

  • DocumentId String - Le nom du document pour lequel les résultats de l'extraction sont indiqués.
  • ExtractorPayloads ExtractorPayload[] - Informations supplémentaires fournies par les extracteurs.
  • ResultsDocument UiPath.DocumentProcessing.Contracts.Results.ResultsDocument - Les détails de la structure de classification et d'extraction des données.
  • ResultsVersion Int - La version du ExtractionResult signalée pour le document. Commence à 0 lorsque l’extraction automatique est effectuée et doit être augmentée d’une unité à chaque modification du contenu de l’objet, à des fins de suivi.
  • Définition
  • Description
  • Membres
  • Constructeurs
  • Méthodes
  • Propriétés

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour