Overlapping entities

What happens when different entities are detected on same words or phrases?

📘

This logic was added in version 240

In prior versions only one type entity was returned.

In case there are different entities that match specific word or phrase all types are returned so that they can be accessed with entity type that you expect according to bot logic.

Examples

sys.DigitSequence + 2 x sys.Numeral

sys.DigitSequence + 2 x sys.Numeral

sys.DigitSequence and sys.Numeral on same token

sys.DigitSequence and sys.Numeral on the same token

sys.Numeral inside sys.Time

sys.Numeral inside sys.Time

Returning all entities that match manual rules in Keyword and Regex entities

Returning all entities that match manual rules in Keyword and Regex entities