Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Extract transport Version 1 (Net)

Группа Group "ROBIN AI", подгруппа subgroup "NER (PREFERENTUM)"

...

Description

The action returns the types of transport from the text - models of equipment, cars, airplanes, ships

...

Action icon

Image Modified

...

Parameters and their settings

Property

Description

Type

Filling example
Mandatory field
Parameters
Text

Text for analysis

String

The Mercedes Maybach S650 Cabriolet is a powerful machine, with a 6.0-liter V12 engine that produces 621 horsepower and 738 lb-ft of torque. The car can go from 0 to 60 mph in just 4.0 seconds, and it has a top speed of 155 mph.

Yes
Results
Result
Collection of extracted dataCollection

...



Special conditions of use

If the same entity appears several times in the text, it will be written once in the resulting array.

Пример использования

Задача

Example of use

Task

There is a textИмеется текст:

"Large model airplane Airbus A330 AEROFLOT of Russia, the length of the model is 45 cm."

Требуется извлечь из текста модель самолета и вывести ее в диалоговое окноYou need to extract an aircraft model from the text and display it in a dialog box

...

Solution

Воспользоваться действиями "Извлечь транспортUse the actions "Extract transport",   "СообщениеMessage" и "Получить значение по индексуand "Get value by index". 

Реализация 

Implementation

  1. Create a variable "Collection" in which the result of the "Extract transport" action will be writtenСоздать переменную "Коллекция" в которую будет записан результат действия "Извлечь транспорт".

    Перетащить на рабочую область действие "Извлечь транспорт
  2. "Drag the "Extract transport" action to the workspace.

    Заполнить параметр "Текст" действия "Извлечь транспорт".
    В результат добавить переменную "Коллекция"

  3. Fill in the "Text" parameter of the "Extract transport" action.
    Add the "Collection" variable to the result.


  4. Drag the "Get value by index" action to the workspace.Image Added

  5. Set the parameters of the "Get value by index" action.Image Added

  6. Drag the "Message" action to the workspaceПеретащить на рабочую область действие "Получить значение по индексу".
    Image Removed
    Заполнить параметры действия "Получить значение по индексу".
    Image Removed
    Перетащить на рабочую область действие "Сообщение"

    Заполнить параметры действия "Сообщение".
    В поле "Текст сообщения" добавить результат действия "Получить значение по индексу".
    Image Removed
  7. Нажать на кнопку "Старт" в верхней панели.

Результат


  1. Fill in the parameters of the "Message" action.
    In the "Message text" field add the result of the "Get value by index" action.
    Image Added

  2. 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Программный робот отработал успешно. В диалоговое окно выведено требуемое значение.