IDOL Government Eduction Package 12.13

# IDOL Eduction Grammars

The following section describes the Eduction grammars available in the IDOL Government Eduction Package.

You can use these grammars with IDOL Eduction, by using Eduction Server, the edktool command-line utility, or the Eduction SDK. For more information, refer to the IDOL Eduction User Guide and the Eduction SDK Programming Guide.

IMPORTANT: To use the Eduction grammars in the IDOL Government Eduction Package, you must have a license that enables them. To obtain a license, contact Micro Focus Support.

The IDOL Government Eduction Package includes a default configuration file, which includes the basic required settings that you need to use the GOV grammars.

NOTE: If you create your own configuration file, you must include some of the settings in the default configuration file, such as post-processing (see Configure Post Processing).

## Configure Post Processing

When you use the IDOL Government Eduction Package Eduction grammars it is essential to configure a Lua post-processing task to run the script `gov_postprocessing.lua`. This script contains post-processing to normalize scoring.

IMPORTANT: If you do not run this script, you might encounter unexpected behavior.

The default configuration file provided in the IDOL Government Eduction Package includes a suitable post-processing task. If you use a different configuration, you must add the post-processing task to your Eduction configuration. For example:

    [Eduction]
    PostProcessingTask0=MyPostProcessingSection

    [MyPostProcessingSection]
    Type=Lua
    Script=scripts/gov_postprocessing.lua
    Entities=gov/*

For more information about configuring post-processing tasks, refer to the Eduction User and Programming Guide.

## Entity Context

Some of the entities are available in two versions, with and without context. The context-based entities match the entity when it occurs in an easily identifiable location in text. For example, it might match a telephone number that occurs next to the prefix Phone:.

The entities that do not have context attempt to match the entity wherever it occurs. This version might over-match significantly (that is, it is likely to return values that are similar to the entity patterns, such a number that is not a telephone number). However, it also reduces the number of false negatives (that is, it misses fewer matches).

You can configure Eduction to use both versions of an entity; matches located with context are given a higher score in the results.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Government Eduction Package 12.13

Topic Title: IDOL Eduction Grammars