UiPath Documentation
activities
latest
false

Actividades de Document Understanding

Última actualización 5 de may. de 2026

Clasificador basado en palabras clave

UiPath.IntelligentOCR.Activities.DocumentClassification.KeywordBasedClassifier

Descripción

Las capacidades de esta actividad son las siguientes:

  • Incorpora un algoritmo de clasificación de documentos basado en palabras clave, destinado a la clasificación de archivos que tienen títulos repetibles.
  • Clasifica un documento en función de un conjunto de entrenamiento determinado, que se encuentra en un archivo especificado, si se utiliza dentro de la actividad Clasificar ámbito de documento.

Esta actividad solo puede utilizarse junto con las actividades Clasificar ámbito de documento y Entrenar el alcance de los clasificadores.

Compatibilidad de proyectos

Windows-Legacy | Windows

Configuración

Panel del Diseñador
  • LearningFilePath - The full path to the file containing the classifier data. This field supports only strings and String variables.

    Nota:

    Only one of the above parameters can be set at a time. You can use either the LearningData string or the LearningFilePath string.

    The LearningFilePath specifies the locations from where to retrieve the classifier data.

    The LearningData contains the actual information of that classifier.

Panel de propiedades

Común

  • Nombre para mostrar: el nombre para mostrar de la actividad.

Entrada

  • LearningData - The string containing the serialized classifier data. This field supports only strings and String variables.

  • LearningFilePath - The full path to the file containing the classifier data. This field supports only strings and String variables.

    Nota:

    Only one of the above parameters can be set at a time. You can use either the LearningData string or the LearningFilePath string.

    The LearningFilePath specifies the locations from where to retrieve the classifier data.

    The LearningData contains the actual information of that classifier.

  • Privado : si se selecciona, los valores de variables y argumentos ya no se registran en el nivel Detallado.

    Nota:

    La mejor práctica es crear un archivo .json vacío en esa ubicación y luego usar su nombre en el campo RutaDeArchivoDeAprendizaje .

Uso del asistente de gestión de aprendizaje

You can configure the Keyword Based Classifier at design-time, by simply accessing the Manage Learning wizard of the activity. The same wizard can be used for reviewing data collected during the document classification training phase, by opening the same wizard with an updated learning file path.

This wizard allows you to configure and manage the keywords used by this activity for identifying the document type. It was created to suit the need for editing a file path. If a Learning Data parameter with a variable is used instead, then you are asked if you either want to edit a specific file path or to abort this operation.

Nota:

Manage Keyword Based Classifier Learning wizard can be used only for editing and configuring a file path.

  1. Añade una actividad Clasificador basado en palabras clave o Entrenador clasificador basado en palabras clave a tu flujo de trabajo.

  2. Configura tu actividad Clasificador basado en palabras clave añadiendo la ruta de un archivo .json . Ten en cuenta la siguiente información al configurar el clasificador:

    • Si no se proporciona ninguna ruta y se selecciona la opción Gestionar aprendizaje, se muestra una ventana emergente que pide una entrada Ruta de archivo de aprendizaje. Una vez proporcionada la ruta se abrirá el asistente.
    • A variable can be added instead of a .json file, but, because the wizard cannot apply the learning pattern to a LearningData variable, it asks for a specific file path that can be edited.
  3. Selecciona Gestionar aprendizaje.

    Se abre la ventana del asistente Gestionar el aprendizaje de clasificadores basados en palabras clave.

    Figura 1. La descripción general del asistente de aprendizaje del clasificador basado en palabras clave

    La descripción general del asistente de aprendizaje del clasificador basado en palabras clave

  4. Si no se proporciona ninguna ruta y se selecciona la opción Gestionar aprendizaje, se muestra una ventana emergente que pide una Ruta de archivo de aprendizaje. Una vez proporcionada la ruta se abrirá el asistente.

    Figura 2. La ventana emergente Advertencia se muestra si no se proporciona una ruta y se selecciona la opción Gestionar aprendizaje

    La ventana emergente Advertencia que se muestra si no se proporciona una ruta y se selecciona la opción Gestionar aprendizaje

    Nota:

    Even if no .json file is available, you can add the name of a new .json file straight into the activity and the .json file is automatically created inside the specified folder.

Añadir palabras clave para el tipo de documento

El asistente tiene tantas categorías de tipos de documentos como hayas definido en tu taxonomía. Puedes añadir una o varias palabras clave para cada tipo de documento. La actividad aprende las palabras clave de un documento específico y posteriormente, es capaz de identificar y clasificar el documento en un tipo específico basándose en estas reglas.

Todas las entradas deben introducirse como cadenas, entre "" (comillas), y puedes añadir valores únicos o múltiples. Para añadir o eliminar palabras clave, realiza los siguientes pasos en el asistente:

  1. Selecciona Añadir nuevo conjunto de palabras clave para añadir un campo adicional a esa categoría.
  2. Seleccione el remove eliminar icono, para eliminar el campo y sus palabras clave.
  3. Selecciona Guardar para guardar la configuración del asistente. Puedes encontrar todos los valores añadidos en el archivo .json del proyecto.
    Nota:

    Double quotes entered as part of a keyword in the Manage Keywords wizard are always escaped according to the Visual Basic convention (double double quotes), even in a C# flavored project.

Integración de Document Understanding

La actividad Clasificador basado en palabras clave forma parte de Document Understanding Solutions. Consulta la Guía de Document Understanding para obtener más información.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado