Eduction 24.4
Eduction User and Programming Guide

# getMatch

Returns an edkmatch object that you can use to manipulate the match.

## Syntax

`edkEnMasseMatch:getMatch()`

## Returns

An edkmatch object.

## Example

The following example Lua script uses the `getMatch` method to obtain an `edkmatch` object:

    function processmatches(matches)
        -- example that discards matches with score < 0.5
        for k,v in ipairs (matches) do
            local edkmatch = v:getMatch()
            if edkmatch:getScore() < 0.5 then
                v:setOutput(false)
            end
        end
    end

Copyright 2013-2024 Open Text
Version 24.4 | Last updated September 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Eduction 24.4

Topic Title: getMatch