ResourceFile

The full path to a JSON file that contains a dictionary of terms to use to find potential matches in your input text.

Eduction uses the terms in the configured file to run an initial check to find potential matches in your input text. It then creates a match window by selecting characters before and after the potential match, and uses your grammar to find actual matches in these windows. 

You can use one of the following options as your resource file:

  • a provided dictionary file, which is in a binary format with the file extension DPF.

  • a custom JSON file with your own dictionary. For details of the format of the JSON file, refer to the Eduction User and Programming Guide.

  • an EJR-format grammar file. For information about available EJR grammars, refer to the Eduction Grammars User Guide.

    TIP: You can use the Entities parameter to restrict this option to a set of entities in a grammar. For example, you might want to use landmark entities only to find your match windows.

You can use WindowCharsAfterMatch and WindowCharsBeforeMatch to determine the size of the matching window to use.

Type: String
Default:  
Required: No
Configuration Section: MyPreFilterTask
Example: ResourceFile=custom_dictionary.json
See Also:

WindowCharsAfterMatch

WindowCharsBeforeMatch