Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# edkComponent Methods

The following methods are available on `edkComponent` objects.

You can obtain an `edkComponent` object using the getComponent method of an edkmatch object.

Method | Description
--- | ---
getMatchOffset | Returns the offset of a component in the matched text, in bytes.
getMatchOffsetLength | Returns the offset of a component in the matched text, in Unicode characters.
getMatchedText | Returns the text that a component originally matched.
getMatchLength | Returns the size of the component matched text, in Unicode characters
getMatchSize | Returns the size of the component matched text, in bytes.
getName | Returns the name of a component.
getOffset | Returns the offset of a component in the normalized text, in bytes.
getOffsetLength | Returns the offset of a component in the normalized text, in Unicode characters.
getText | Returns the text that a component matches.
setMatchLength | Modifies the size of the component matched text, in Unicode characters
setMatchSize | Modifies the size of the component matched text, in bytes.
setName | Modifies the name of a component.
setText | Modifies the text that a component matches.

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: edkComponent Methods