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

Ключ

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

...

Extract cost Version 1 (Net)

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

...

Description

Retrieves a value from a text with a currency symbol

...

Action icon

Image Modified

...

Parameters and their settings

Property

Description

Type

Filling example
Mandatory field
Parameters
Text

Text for analysis

String

A $1.3 billion investment this year brings Amazon’s average hourly pay to over $20.50 per hour across customer fulfillment and transportation in the U.S.

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Имеется текст:

"The top of the rating of the most expensive yachts is a luxurious representative of the Italian yacht shipyard Baia Yachts - it is the yacht "History Supreme". The cost of such a yacht is $4.8 billion dollars."

Требуется извлечь из текста стоимость и вывести ее в диалоговое окно.

Решение

You need to extract a cost from the text and display it in a dialog box.

Solution

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

Реализация

...

Implementation

  1. Create a variable "Collection" into which the result of the "Extract cost" action will be written.
    Image Added

  2. Drag and drop the "Extract cost" action to the workspace.
    Image Added

  3. Fill in the "Text" parameter of the "Extract cost" action.
    Image Added

    Add the variable "Collection" to the result.Image Added

  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 and drop the "Message" action to the workspace.
    Image Added

  7. Set the parameters of the "Message" action.
    In the "Message text" field add the result of the "Get value by index" action.
    Image Added

  8. 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

Результат

Программный робот отработал успешно. В диалоговое окно выведено требуемое значение.