Kofax Transformation Modules Invoice Pack 1.0 User Manual

Page 20

Advertising
background image

Contents

20

Kofax Transformation Modules Invoice Pack - Configuration Guide

database for the current supplier, the dynamic regular expression is updated
and enabled while the generic regular expression is disabled. Should no
specific expression be found, the dynamic expression will be disabled and the
generic enabled. This allows a higher precision of results where possible,
while providing a fallback for when customer information is not present.

ƒ

FL_InvoiceNumber_RegExp – This is a format locator which contains 2
regular expressions and no keywords. As indicated above, one of the regular
expressions is dynamic and the other generic. By default and under standard
functionality, the dynamic regular expression is disabled and the generic
regular expression enabled for use. This is only changed by the SL_SetRegEx
locator above. The results found by this locator are used by the
FL_InvoiceNumber_West and FL_InvoiceNumber_North locators mentioned
below.

ƒ

FL_InvoiceNumber_West – This format locator takes the results of the
FL_InvoiceNumber_RegExp locator above. It contains keywords which exist
to the west of the possible results.

ƒ

FL_InvoiceNumber_North– This format locator takes the results of the
FL_InvoiceNumber_RegExp locator above. It contains keywords which exist
to the north of the possible results.

ƒ

SE_InvoiceNumber_Combined – This evaluator combines the results of the
two format locators above. The reason there are two evaluators with identical
keywords is to provide the ability to search for the same keyword in different
locations and at different distances. Within a single locator, it is not possible
to have the same keyword twice at different distances.

ƒ

SL_ResetRegex – This script locator provides the final part of enhanced logic
for the InvoiceNumber field. After the locators above have been completed,
this reverts the changes made by the SL_SetRegEx locator. The dynamic
regular expression is disabled, and the generic regular expression is once
again enabled in the FL_InvoiceNumber_RegExp locator. The script locator
also checks to see which type of regular expression was used to find possible
results on the document. If the generic expression was used, the alternatives
from the FL_InvoiceNumber_RegExp locator are all set to 0% confidence,
whereas the confidences remain as they are when using a dynamic regular
expression. This is due to the following logic:

1. There is a regular expression based format locator which runs on the

page. This uses either a generic regular expression to find possible
values, or where available uses a specific regular expression which
matches the format of InvoiceNumber expected for the customer.

2. If a dynamic (specific) regular expression is available, the first regular

expression in the locator list (which is intended to hold the dynamic

Advertising