Named Entity Recognition 26.3
Named Entity Recognition User and Programming Guide

# List

This command lists the entities in an uncompiled (source) XML Named Entity Recognition grammar file or a compiled ECR grammar file. Listing the contents of an XML file lists all entities in the file, both private and public. Listing the contents of a compiled ECR file lists all public entities.

NOTE: The compiled ECR file does not include any private entities that are not referenced by the public entities.

The entities, and components if you use the `-a` option, are listed in alphabetical order.

To enable this feature, type `edktool l <grammarfile>` at the command line.

The following table describes the optional parameters for this command.

`-a` | List the license requirements for a particular compiled grammar file, as well as the components that the entity can return. For example, the following output: `category: place languages: English or French` indicates that the user must be licensed for either English or French in the place category. If multiple lines appear, then the license must satisfy the conditions in every line.
`-q` | Run in quiet mode. In this case, `edktool` removes all descriptive messages from the output and shows the entity list only. The output includes components if you also set the `-a` parameter.

## Example

To list all public entities in the compiled grammar file `mygrammar.ecr`:

    edktool list mygrammar.ecr

Copyright 2013-2026 Open Text
Version 26.3 | Last updated July 2026

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 26.3

Topic Title: List