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

Ключ

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

...

  • Dates - a collection with extracted data in dd.mm.yyyy format. The missing date element will be recorded as "01".
    If the same date occurs several times in the text, it will be recorded once in the resulting collection.
  • Extracted data - a collection with extracted data without type conversion.
    If the same date occurs several times in the text, it will be recorded once in the resulting collection.

Settings

Property

Description

Type

Filling example

Mandatoryfield

Parameters

Text

The text from which the dates will be extracted

String

Христофор Колумб был убежден, что сможет добраться до Индии на корабле. Получил поддержку и финансирование Изабеллы Кастильской. Отплыв из Палос-де-ла-Фронтера 3 августа 1492 года, он достиг Сан-Сальвадора 12 октября 1492 года. Название континента Америка, связано с фигурой Америго Веспуччи, итальянского мореплавателя и исследователя, который понимал, что земли, открытые Колумбом были частью новой земли, еще неизведанной.

Yes

Results

Dates

A collection with extracted data.The missing date element will be written as «01». If the same date occurs several times in the text, then it will be recorded once in the resulting collection

Collection



Extracted dataA collection with extracted data in string format. If the same date occurs several times in the text, then it will be recorded once in the resulting collectionCollection

Special conditions of use 

...

There is a text to recognize:

Информация
iconfalse
Пушкин родился 26.05.1799 г. в Москве. Здесь юный поэт пережил события Отечественной войны 1812 года. Из лицея Пушкин был выпущен 9 июня 1817 года. 16 августа Пушкин прибыл в Феодосию.

You need to extract dates from the text, extracted data, and display the result in a dialog box.

...

  1. Create variables "Collection with dates" and "Collection with extracted data" into which the results of the "Extract dates" action will be written.

  2. Transfer the "Extract dates" action to the workspace.
  3. Fill in the "Text" parameter of the "Extract dates" action.
    Add appropriate variables to the results of the action.
  4. Drag the "Convert data" action to the workspace.
  5. Set the "Convert data" action parameters.
    In the "Source" field add the created variable.
    Select the "String" option in the "Type" field.

  6. Drag the "Message" action to the workspace. 

  7. Set the parameters of the "Message" action.
    In the "Message text" field add the results of the "Convert data" action.
  8. Click on the "Start" button in the top panel.

...

The program robot completed successfully.
Image Added

The required values are displayed in the dialog boxes.

Image RemovedImage Removed

Image RemovedImage AddedImage Added