Вы просматриваете старую версию данной страницы. Смотрите текущую версию.

Сравнить с текущим просмотр истории страницы

« Предыдущий Версия 4 Следующий »

Create index Version 1 (Net)

Group "Robin AI", subgroup "Classifier (Preferentum)"


Description

The action creates an index (classifier) and returns the path to the folder where the created index is located

Action icon

Parameters

Input parameters

  1. Folder with texts –  path to the folder that contains the classification categories. Each category is a separate folder. 
    The name of the folder will be the name of the classification when it is defined. Each folder must contain files corresponding to the category.

  2. Path to index folder – path to an empty folder. It is used for "training" the classifier. After the classifier is configured, the classifier index-files will appear in the folder. 

Output parameters

Result – path to the folder where the created index is located.

Settings

Property

Description

Type

Filling example
Mandatory field
Parameters
Folder with texts

Folder with texts

Folder path

C:\Users\Desktop\Text folder

No
Path to index folderThe path to the folder where the index will be locatedFolder pathC:\Users\Desktop\IndexingNo
Results
Result
The path to the folder where the created index is locatedFolder path

Special conditions of use

None.

Example of use

Task

There are two folders "Texts folder" and "Indexing".
The texts folder contains 2 folders, inside which files for classifier training are located.
It is necessary to create a classification index and save the result to the created variable "Index folder".

Solution

Use the "Create index" action. 

Implementation

  1. Create a variable "Folder with index" with type "Folder path".


  2. Move the "Create index" action to the workspace. 


  3. Set the action parameters (specify appropriate paths to folders). 
    Add the variable "Folder with index" to the result.


  4. Click on the "Start" button in the top panel.  

Result

The program robot completed successfully. The classification index was created and written to the variable "Index folder". 

  • Нет меток