Named Entity Recognition Server 26.1
Named Entity Recognition Server Reference

# 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`, refer to the Named Entity Recognition User and Programming Guide.

NOTE: You can override the value of this parameter for specific actions by setting the NonGreedyMatch action parameter.

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

Copyright 2014-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 Server 26.1

Topic Title: NonGreedyMatch