Eduction Architecture

You run Eduction by using an Eduction engine. This engine uses the Eduction grammars to process text and return the matched entities.

The following diagram shows the use of grammars in an Eduction engine.

The standard grammar files are a wide range of ECR files that Micro Focus provides in your Eduction installation (see Standard Grammar – Compiled). You can use these files as they are, or extend them by creating a grammar XML file that includes them. You can also create your own user grammar files from scratch.

You compile XML grammar files into ECR by using the edktool command-line tool. For more information see Compile and Test Grammars.

NOTE: Eduction can also use XML grammar files directly (that is, without compiling them to ECR files). However, in most cases Micro Focus recommends that you compile your grammars to improve performance.

How you use the Eduction engine depends on the way you call Eduction. For example, you can:

You can also run Eduction by using the edktool command-line tool. This method can be useful for testing your grammars or entities when you make modifications (see Compile and Test Grammars). However, Micro Focus recommends that you do not use edktool as part of a production system.

TIP: If you do not know which Eduction package is best for your use case, see Decide Which Eduction Product to Use.