Skip to main content Skip to complementary content

Creating a set of parser rules

Before you begin

You have selected the Profiling perspective.

Procedure

  1. In the DQ Repository tree view, expand Libraries > Rules.
  2. Right-click the Parser folder and from the contextual menu, select New Parser Rule.
    Contextual menu of the Parser folder.

    A new wizard is displayed.

  3. Enter a name, and, optionally, enter a purpose and a description of the set of parser rules.
  4. If required, complete the other fields on this wizard. In this example, leave them by default.
  5. Click Finish.
    The Parser Rule Settings editor is opened on the Talend Studio workspace.
    Overview of the Parser Rule Settings editor.
  6. Click the [+] button to add a line to the Parser Rules table.
  7. Enter the rule name and the rule value in their corresponding fields.
  8. Select the appropriate rule type from the Type list.
    In this example, the rule name is StreetType, the rule type is Shape and the rule value is <INT><WORD+><StreetType>.
    The rule set is displayed under the Libraries > Rules > Parser node of the DQ Repository tree view.
  9. If needed, click the [+] button and add more rules in the table.
    For further information about the different rule types as well as some use cases with tStandardizeRow, see tStandardizeRow.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!