Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# setMatchedText

Modifies the input text that you retrieved by using getMatchedText.

The input text is the text before any normalization or modification that takes place as part of the extraction process. By contrast, setOutputText enables you to modify the output text after any changes.

## Syntax

`edkmatch:setMatchedText(new_text)`

## Arguments

Argument | Description
--- | ---
`new_text` | The new value that you want to assign to the input text.

## Returns

The new input text.

Copyright 2013-2025 Open Text
Version 25.4 | Last updated October 2025

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: Knowledge Discovery Named Entity Recognition 25.4

Topic Title: setMatchedText