To configure Lua post-processing tasks, you must specify the number of tasks and task names in the [PostProcessingTasks]
section of the configuration file, for example:
[PostProcessingTasks] numTasks=2 task0=checksum task1=filterscore
Each task must also have its own section in the configuration file, for example:
[checksum] type=lua script=./scripts/checksum.lua entities=number/creditcard
You must define a processmatch
function in your script:
function processmatch (edkmatch)
where edkmatch
is the object to match. The function must return a Boolean value: True
to keep the match, or False
to discard it.
For information about the Lua methods that you can use with Eduction matches and components, see Eduction Lua Methods Reference.
|