Named Entity Recognition 25.4
Named Entity Recognition User and Programming Guide

# Compile Grammars

You can use edktool to compile an XML file into an ECR file.

The edktool `c` (compile) command compiles a specified XML grammar into an ECR grammar file. For example:

    edktool c mygrammar.xml

This command produces the output file `mygrammar.ecr`.

For more information about the compile command, see Compile.

NOTE: Named Entity Recognition (Eduction) version 12.7 and later compiles grammars to a compressed ECR format.

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: Compile Grammars