Extract addresses Version 4 (Net)

Action group: Text, subgroup: NER


Description

Extracts addresses from text.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
TextText for analysis.Robin.String
No
Results
ResultCollection of extracted addresses. 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 the text:
Ivan Ivanovich Ivanov resides at the address: the city of Moscow, Rodionova Street 2, ap. 9.
It is required to extract the address from the text.

Solution

Use the "Extract addresses", "Get value by index" and "Show message" actions. 

Implementation

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

  2. Move the "Extract addresses" action to the workspace.

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


  4. Move the "Get value by index" action to the workspace.
  5.  Set the parameters of the "Get value by index" action.

  6. Move the "Show message" action to the workspace.

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


  8. Launch the robot using the "Start" button in the top panel. 

Result

The program robot completed successfully. The required value is displayed in the dialog box.

 

  • Нет меток