История страницы
...
Extract organizations Versions 1 (Net)
Группа Group "ROBIN AI", подгруппа subgroup "NER (PREFERENTUM)"
...
Description
The action returns the names of organizations from the text
...
Action icon
...
Parameters and their settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Text | Text for analysis | String | When I joined Amazon in 2011, we had about 50,000 people in our operations around the world. Today, we have more than 1.1 million teammates across six continents, and I lead the central organization that focuses on keeping our teams safe every day. Our goal is to be the safest workplace within the industries in which we operate, and we’re continuing to make meaningful progress—thanks to the combined efforts of our more than 9,000 dedicated safety professionals and every one of our employees around the world. | Yes |
Results | ||||
Result | Collection of extracted data | Collection |
...
Special conditions of use
If the same entity appears several times in the text, it will be written once in the resulting array.
When extracting, the name of the organization is reduced to a short form: LLC NAME OF THE ORGANIZATION.
Пример использования
Задача
Example of use
Task
There is a textИмеется текст:
"Robin LLC is a leader in the development of software robots in Russia."
Требуется извлечь из текста название компании и вывести его в диалоговое окноYou need to extract the company name from the text and display it in a dialog box.
Решение
Solution
Use the actions "Extract organizationsВоспользоваться действиями "Извлечь организации", "Получить значение по индексу" и "СообщениеGet value by index" and "Message".
Реализация
Implementation
- Create a variable "Collection" into which the result of the "Extract organizations" action will be writtenСоздать переменную "Коллекция" в которую будет записан результат действия "Извлечь организации".
Перетащить на рабочую область действие "Извлечь организации" - Drag the "Extract organizations" action to the workspace.
Заполнить параметр "Текст" действия "Извлечь организации".
В результат добавить переменную "Коллекция".
Перетащить на рабочую область действие "Получить значение по индексу".
Заполнить параметры действия "Получить значение по индексу".
Перетащить на рабочую область действие "Сообщение".
Заполнить параметры действия "Сообщение".
В поле "Текст сообщения" добавить результат действия "Получить значение по индексу". - Нажать на кнопку "Старт" в верхней панели.
Результат
- Fill in the "Text" parameter of the "Extract organizations" action.
Add the variable "Collection" to the result. - Drag the "Get value by index" action to the workspace.
- Set the parameters of the "Get value by index" action.
- Drag and drop the "Message" action to the workspace.
- Fill in the parameters of the "Message" action.
In the "Message text" field add the result of the "Get value by index" action. - Click on the "Start" button in the top panel.
Result
The program robot has completed successfully. The required value is displayed in the dialog box Программный робот отработал успешно. В диалоговое окно выведено требуемое значение.