Pattern entities

For more complex or less regular expressions, we have created a custom language called Metaetykietator, MTT in short. It is a syntax that allows attaching custom labels to text data.

It is most useful when you need to differentiate between expressions that overlap and thus cannot function as simple entities, or when you want to catch a whole group of characteristic expressions such as welcomes or confirmations.

Some examples:
A snippet of a welcome pattern:

LABEL (@"hi"|@"hey"|@"hello"|@"good morning")$ AS @"welcome"
UNLABEL @"welcome" IN @"welcome"

A snippet of a confirmation pattern:

LABEL (@"yes"|@"yep"|@"sure"|@"of course")$ AS @"confirmation"
LABEL (@”confirmation” @”confirmation”)$ AS @”confirmation”
UNLABEL @"confirmation" IN @"confirmation"

If you would like to build a pattern entity, please contact SentiOne Bot Designers for instructions and support.