Using Advanced Import
The Advanced Import function allows you to selectively import data into lookup tables used by Advanced Transformer, Table Lookup, and Open Parser. Use Advanced Import to:
- Extract terms from a selected column in a delimited, user-defined file.
- Extract single-word terms (tokens) from a selected column in a delimited user-defined file. When you extract tokens, you can identify the number of times that the terms occurs for a given column in the file and create groupings for related terms and add them to the table.
The file that contains the data you want to import must meet these requirements:
- Must be UTF-8 encoded.
- Must be a delimited file. Supported delimiter characters are comma (,), semicolon (;), pipe (|), and tab (\t).
- Fields with embedded delimiters must be start and end with double quotes, for example "1,a","2,b","3,c".
- A literal quote in a field starting and ending with double quote must have two quotes, for example "2"" feet".
- In Enterprise Designer, select .
- Select the table into which you want to import data.
- Click Adv Import.
- Click Browse and select the file that you want to import.
- Click Open.
- Select a table column from the Column list. The sample data shows the frequency of occurrence for each term listed in the user-defined table. Frequency is only displayed for terms that are not yet in the existing table.
- To view terms as single words, select Separate into single-word terms.
-
For Advanced Transformer and Open Parser tables:
- Select a term from the list on the left.
- Click the right arrow to add the term to the list on the right. Click the left arrow to delete a selected term from the table list.
- Click OK to save the changes to the table.
-
For Table Lookup tables:
- Click to add a table grouping.
- Click New.
- Type a new term and then click Add. Continue adding terms until finished and then click Close.
- Select a term from the list and then click Add. Continue adding terms until finished and then click Close. The new terms are added to the terms list on the right.
- Select a term on the left and then click the right arrow to add the term to the selected grouping. Click the left arrow to delete a term from one of the groupings.
- To modify a term, select it from the list on the right and then click .
- To delete a term, select it from the list on the right and then click .
- Click OK to save the changes to the table.