Extract named entities Version 3 (Net)
Action group: Text
Description
This action is used to extract named entities from text. The action allows you to extract planets, buildings, locations.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Text for analysis. | Robin.String | No | |
Results | ||||
Result | Collection of extracted data. If the same entity appears several times in the text, it will be written once in the resulting array. | Robin.Collection |
Special conditions of use
If the same entity appears several times in the text, it will be recorded once in the resulting array.
Example of use
Task
There is a variable "Input text" with the value:
Earth is the third most distant planet in the solar system from the Sun.
You need to extract the value "Earth" from the text and display it in the dialog box.
Solution
Use the "Extract named entities", "Show message", "Get value by index" actions.
Implementation
- Create a variable "Collection" to which the result of the "Extract dates" action will be written.
- Move the "Extract named entities" action to the workspace and set its parameters.
- Move the "Get value by index" action to the workspace and set its parameters.
- Move the "Show message" action to the workspace and set its parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The required value is displayed in the dialog box.
Обзор
Инструменты контента