Named Entity Recognition 25.3
Named Entity Recognition User and Programming Guide

# getComponent

The `getComponent` method returns a specified component object. The components are zero-indexed. For example, if you have six components, you can get the last component by using `edkmatch:getComponent(5)`.

## Syntax

`edkmatch:getComponent(index)`

## Arguments

Argument | Description
--- | ---
`index` | The number of the component to get (where the first component has the index zero).

## Returns

The component object at the specified index position in the match.

Related Topics

- getName
- setName
- getText
- setText

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: getComponent