Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# <entity>

Element: entity

Child Elements: <entry>, <pattern>

Description: Defines an entity that you can use for matching.

Example: `<entity name="entity1" type="public" case="insensitive" extend="disallow" debug="true">`

Attribute | Value | Default | Description
--- | --- | --- | ---
`name` | <grammar name> |  | The name of the grammar. A value is required.
`type` | public private | private | Defines the entity as public or private.
`case` | sensitive insensitive inherited | inherited | Determines whether a match is case sensitive. The value `inherited` accepts the case matching mode of the <grammars> parent.
`extend` | append replace disallow | disallow | Extends or replaces an existing entity definition.
`debug` | true false inherited | inherited | Displays verbose information for the entity element during compilation. The value `inherited` accepts the debug mode of the `grammar` parent.

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