Named Entity Recognition 25.3
Named Entity Recognition User and Programming Guide

# setOffset

Modifies the position of a match in a document.

## Syntax

`edkmatch:setOffset(new_offset)`

## Arguments

Argument | Description
--- | ---
`new_offset` | The new position of the match, in bytes from the start of the text buffer.

## Returns

The new position of the match (in bytes).

Related Topics

- getOffset

Copyright 2013-2025 Open Text
Version 25.3 | Last updated July 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.3

Topic Title: setOffset