beautypg.com

Kofax INDICIUS 6.0 User Manual

Page 88

background image

Chapter 4

78

Getting Started Guide (Classification and Separation)

Integrate Definition file

As with the text classifier, the definition file is called by the Recognition script in
production. The script will not call a definition file by default, but this can easily be
modified. The name of the definition file must also be updated.

X

To integrate the definition file into the script

1

In Windows Explorer, navigate to your configuration’s resources folder:

My Documents\Transformation Studio
Projects\Tutorial\Configurations\Document Classification\Resources.

2

Double-click the file Document Classification.ifv to open it in Script Editor.

3

Turn on classification by definition file by changing the following line at the
top of the script:

Const

CLASSIFY_BY_DEFINITION_FILE =

False

To:

Const

CLASSIFY_BY_DEFINITION_FILE =

True

4

Set the name of the definition file by changing the following line at the top of
the script:

Const

DEFINITION_FILE_FILENAME = "Template.idf"

To:

Const

DEFINITION_FILE_FILENAME = "Header.idf"

5

Select File | Save File.

6

Select File | Exit.

Test Classification

X

To test document text and document templated classification together

1

Open Recognition Test Tool by clicking Start on the taskbar to display the
menu, and selecting All Programs | INDICIUS | Tools | Recognition Test
Tool.

2

Open the project you used to test document text classification.

Note

You can open the project from the recent projects on the File menu. By

default it will be:

My Documents\Test Projects\Document Classification.rtp