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
,
Type: | Boolean |
Default: | False |
Required: | No |
Configuration Section: |
|
Example: | NonGreedyMatch=True
|
See Also: | AllowMultipleResults
AllowOverlaps |