Named Entity Recognition 26.3
Named Entity Recognition User and Programming Guide

# NonGreedyMatch

Set `NonGreedyMatch` to `True` to configure Named Entity Recognition to return the shortest match that it finds. In this case, when Named Entity Recognition finds two matches that start at the same word, from two different entities, Named Entity Recognition returns only the shortest match.

Setting `NonGreedyMatch` to `True` implicitly turns off AllowOverlaps and AllowMultipleResults. If you have set these parameters, `NonGreedyMatch` takes precedence.

For more information on how to configure the Named Entity Recognition matching behavior using `NonGreedyMatch`, see Select Matches.

Type: | Boolean
Default: | False
Required: | No
Configuration Section: | Eduction
Example: | `NonGreedyMatch=True`
See Also: | AllowMultipleResults AllowOverlaps

Copyright 2013-2026 Open Text
Version 26.3 | Last updated July 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.3

Topic Title: NonGreedyMatch