Address evaluator, Concept – Kofax Getting Started with Ascent Xtrata Pro User Manual

Page 159

Advertising
background image

Chapter 4

140

Ascent Xtrata Pro User's Guide

To implement a Script Locator, field extraction, or field validation methods that are
executed for classes and fields, select the extraction script for the class. When you do
this, the dialog box caption is set to <ClassName> – Script Code.

Before you start to insert script code, make sure that you have selected the correct
tab.

The Object drop-down list shows all the objects for the current module. The Proc
drop-down list shows all the procedures for the currently selected object. At the
project level, the Object drop-down list contains the created Script Formatters and the
Proc drop-down list provides the FormatField event.

For extraction scripts, the Object drop-down list contains all fields and the created
Script Locators. Fields provide the BeforeExtract and AfterExtract events and the
Script Locator owns the LocatorAlternative event.

For detailed script documentation, select Help | Script Documentation from the Sax
Basic Script Editor’s interface. For more information about how to insert a script
formatter, see Fehler! Verweisquelle konnte nicht gefunden werden. on page Fehler!
Textmarke nicht definiert.
, or Fehler! Verweisquelle konnte nicht gefunden werden.
on page Fehler! Textmarke nicht definiert. .

Address Evaluator

The following sections describe the Address Evaluator and show how to add and set
up a locator that uses it. The Address Evaluator is a locator engine that works on the
results of other locators, and usually works on the results of the Advanced Zone
Locator.

Concept

First, you must use the Advanced Zone Locator (with fixed zones) to find address
information such as zip, city, street. Sometime the values are not correctly read
because of bad OCR results.

The Address Evaluator compares the extracted value to the values in a database, and
if required, corrects the field with fuzzy logic.

Zip code and city are mandatory fields that need to be present to make this evaluator
work. Fields other than zip, city or street can be mapped to “Other Text” or to
“Numeric.”

Advertising