Work with table header packs
Use the procedure in this topic to manage the table header packs in your project.
The Edit Table Header Pack window is used to train a pack for the header lines and keywords of tables. A toolbar provides quick access to the main features. Below the toolbar a pane consisting of the following tabs are available:
- Status:
-
Use this tab to show the number of trained header lines, and non-header lines and the quality of the table header pack.
- Notes:
-
Use this tab to add comments about the table header pack.
- Headers:
-
Use this tab to show the list of header columns and their corresponding keywords.
- What to do:
-
Use this tab information about what the Edit Table Header Pack window is used for.
- How to do it:
-
Use this tab to view information how to handle various features of the Edit Table Header Pack window.
Below the tabs pane a Viewer pane displays the currently selected test document. Any header lines are displayed in green.
The Viewer pane consists of two different types of viewers, a snippet and an image viewer. When configuring heading rows, the following settings are available:
- These lines were identified as headers:
-
This is where any header line snippets are displayed with the following settings:
- Snippet Viewer:
-
This viewer displays the header line for the currently selected document as it is recognized by the current table header pack. If the line is not correct, you need to add the header line of this document as new header line.
- Shortcut menu:
-
A header line consists of various header columns where different keywords are used. Draw a rectangle around a column, and a shortcut menu displays the list of all available header columns. To train a keyword, draw a rectangle around the column heading in the snippet with your mouse, and select the corresponding header column from the list. The selected keyword is added to the list of keywords for this column in the Headers tab.
- Image Viewer:
-
Displays the document that is selected in the Documents window. Use the Previous Document and Next Document button from the toolbar to navigate through the document set. The following settings are available:
- Line Recognition:
-
Move the mouse over a document, and the detected line is highlighted. A tooltip shows the recognition result.
- Zoom:
-
Use your mouse to zoom in or out on the image.
The following toolbar settings are available on the Edit Table Header Pack window:
|
Setting |
Name and Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
On the
Project tab, in the
Configuration group, select
Project Settings.
- Select the Tables tab to view the table settings.
-
Depending on your requirements, do one of the following:
Action
Steps
Add a table header pack
-
In the Table Header Pack group, select Add New Table Header Pack
.
-
Enter a name for the new table header pack into the field and select OK.
The new table header pack is displayed on the list of table header packs and the Edit Table Header Pack window is displayed.
-
Locate the table header row on the image and Ctrl + select a header row.
This header row is highlighted in green.
-
Using the Next Document
and
Previous Document
buttons, navigate to other test documents to view table lines that were identified as headers.
-
Optional. Select non-header rows that may be confused for header rows by holding Ctrl and right-clicking a non-header row.
-
Optional. Enter information relevant to the configuration of your header pack in the Notes tab.
-
Assign the header line keywords to a column in the table model as follows:
-
In the These lines were identified as headers image snippet that is displayed between the image and the table, draw a rectangle around the first keyword on the snippet.
-
On the shortcut menu that is displayed, select the corresponding column from the table model.
The Headers tab table model columns are updated with the mapped keyword.
-
Repeat steps a and b for each column in the table header pack.
-
Optional. Add keywords to the rows defined for your table header pack, separating them with semi-colons.
If you process invoices for multiple languages, provide keywords for each language in a separate table header pack. A Table Locator can use more than one table header pack. Therefore, separating languages into their own header packs helps to ensure the same type of table is found for any language. The language header packs are reusable for other table locators.
-
Modify a table header pack
-
In the Table Header Pack group, select the table header pack to modify.
-
Select Edit Table Header Pack.
The Edit Table Header Pack window is displayed.
-
Optional. Modify the following:
-
Notes
-
Headers
-
Keywords
-
-
Optional. Add or update header and non-header rows.
Rename a table header pack
-
In the Table Header Pack group, select the table header pack to rename.
-
Provide a new name and press Enter.
Delete a table header pack
-
In the Table Header Pack group, select the table header pack to delete.
-
Select Delete Selected Table Header Pack
.
When prompted, select Yes to confirm the deletion.
Export a table header pack
-
In the Table Header Pack group, select the table header pack to export.
-
Select Export Table Header Pack
.
-
Select where to save the header pack.
The saved file uses the name of the table header back with a .llp extension.
Import a table header pack
-
In the Table Header Pack group, select the table header pack to import.
-
Select Import Table Header Pack
.
-
Navigate to where the table header pack (.llp) file is stored, select it and select Open.
Select OK when prompted.
The imported table header pack is displayed on the list of table header packs.
-
Optional. Edit the imported table header pack as required.
-
- Close the window to save the table header pack.
- Optional. Select OK to close the Project Settings window.
- Save the changes to your project.