Action group: Text
This action is designed to determine the classification of the text.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Context ID | Robin.Object | No | |
Text for classification | Text for classification | Robin.String | No | |
Accuracy Threshold | Accuracy threshold for classification. Min value is 0. Max value is 1. | Robin.Numeric | No | |
Results | ||||
Result | Classified text | Robin.String |
At least one classifier must be created.
There is a folder "Texts folder" There are two folders named 18 and 20 and an empty folder called "Indexing". In each of these folders there are files with text (folders 18 and 20). In one of the folders there is a file with the text: "While the pasta is cooking, melt the butter in the pan". It is necessary to identify this folder.
Use "Create classifier index", "Open classifier", "Classify text" actions.
Move the "Open classifier" action to the workspace and set its parameter and result. Create a variable with the type "Object" to record the context identifier into it.
Move the "Classify text" action to the workspace and set its parameters, create a variable with the type "string" to be added as a result of this action.
Click "Start" in the top panel.
The program robot completed successfully.
Required folder is found.