История страницы
...
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
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.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
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 folder | The path to the folder where the index will be located | Folder path | C:\Users\Desktop\Indexing | No |
Results | ||||
Result | The path to the folder where the created index is located | Folder path |
Особые условия использования
Особых условий нет.
Пример использования
Задача
Имеется две папки "Папка текстов" и "Индексация".
В папке текстов содержатся 2 папки, внутри которых расположены файлы для обучения классификатора.
Необходимо создать индекс классификации и сохранить результат в созданную переменную "Папка с индексом".
Решение
Воспользоваться действием "Создать индекс".
Реализация
...
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
- Create a variable "Folder with index" with type "Folder path".
- Move the "Create index" action to the workspace.
- Set the action parameters (specify appropriate paths to folders).
Add the variable "Folder with index" to the result. - 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
Результат
Программный робот отработал успешно. Индекс классификации создан и записан в переменную "Папка с индексом".