Named Entity Recognition 26.1
Named Entity Recognition User and Programming Guide

# ResourceFile

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

Named Entity Recognition 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, see Dictionary ResourceFile Format.

- an EJR-format grammar file. For information about available EJR grammars, refer to the Named Entity Recognition 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

Copyright 2013-2025 Open Text
Version 26.1 | Last updated January 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.1

Topic Title: ResourceFile