The Parser Tuner provides several options for adding entries to a custom definition table:
- Manually add entries in the editing window
- Use the Build Entry Wizard
- Use the Quick Build Wizard
- Use external files and copy/paste into the Parser Tuner
Guidelines:
- Before using any of these methods, you must understand the syntax and conventions that apply to entries.
- BDP definitions are also created and modified using:
- The Word Definition and Mask Definition tools available from the BDP configuration window.
- The word definition tables from the Library in Discovery.
Add Entries manually
To add entries manually
The most direct way to add entries is to enter them in the Customized Definitions file, which operates like a standard text editor.
- Open the Customized Definitions table, by clicking its name in the Navigation area.
- In the Customized Definitions window, click below the line of asterisks.
- Using the required syntax and conventions, enter the new definitions.
- Select Save from the File menu to save the entry in the Customized Definitions table.
- (Optional) Test the changes before applying them.
- Apply the changes to save them to the repository.
Add Entries with the Build Entry Wizard
To add entries with the Build Entry Wizard
- Open the Customized Definitions table from the Navigation area.
- Go to the Customized Definitions window on the right.
- Select Build Entry... from the Tools menu.
- In the Entry Name box, type the word or pattern you want to correct and press Enter. The Select Operation list becomes active and the text you entered appears in the Entry Area box. Each time you add to the entry, changes are written to this area.
- Select the operation you want to apply to this word or pattern and click Next. For example, select INSERT. The Select Operation list is replaced by the Select Modifier list.
- (Optional) Select the modifier you want to apply to this entry and click Next. The Select Line Type list appears.
- Select the appropriate line type and click Next. The Select Position list appears.
- Select the appropriate position and click Next. The Select Keyword list appears.
- Select a keyword and click Next. The Select Value list appears.
- Select the appropriate value and click Accept, then click OK. The Select Value list reappears.
- Repeat steps 8 and 9 until the definition is complete.
- Click Apply. The completed entry is added to the Customized Definitions table. The function automatically adds the proper quotation marks.
- Click Close to close the Build Entry window and end the session.
- Select Save from the File menu to save the entry in the Customized Definitions table.
- (Optional) Test the changes before applying them.
- Apply the changes to save them to the repository.
Use the Quick Build Wizard
To use the Quick Build Wizard
- Open the Customized Definitions table from the Navigation area.
- Go to the Customized Definitions and click below the line of asterisks.
- Select Quick Build from the Tools menu. The Quick Build wizard opens.
- Select an entry in the Select Attribute list. The selected entry appears in the Attributes box.
- Enter the word you want associated with the selected attribute in the Entry Name box at the bottom of the window.
- Click Apply. The entry is inserted in the Customized Definitions window at the current cursor position.
- Repeat steps 4 - 6 to add additional entries.
- Click Close to close the Quick Build window and end your session.
- Select Save from the File menu to save the entry in the Customized Definitions table.
- (Optional) Test the changes before applying them.
- Apply the changes to save them to the repository.
Use external files and copy/paste into the Parser Tuner
To use external files and copy/paste into the Parser Tuner
The Parser Tuner works with Unicode characters and uses UTF-8 encoding in the copy/paste operations. If you plan to use external files and copy/paste into the Parser Tuner, the best practice is as follows:
- Create the external file first with UTF-8 encoding. For example, use the file/conversions/ASCII to UTF-8 option in your text editor.
- Select the text from the Parser Tuner's Customized Definitions window and copy it using Edit/Copy or Ctrl+C.
- Paste the text into your new UTF-8 encoded external file using Edit/Paste of Ctrl+V.
- You may now make changes in the external file and freely copy/paste between it and the Parser Tuner's Customized Definitions window. Both the source and target are UTF-8 encoded Unicode and all of the Unicode BMP characters will be preserved.
- Select Save from the File menu to save the entry in the Customized Definitions table.
- (Optional) Test the changes before applying them.
- Apply the changes to save them to the repository.