There are a set of common custom patterns you can reuse in your patterns without need to implement them.

  Note that these common patters are available only for English, Spanish and Russian. But feel free to contribute your custom patterns in our Github repository.


This pattern matches all undefined words.

<input pattern="* remind [me] [to] $Text"/>

  Note that Text pattern could also be empty while it matches even empty string.


This pattern matches all kind of integer numbers and has an integer as a value.

<input pattern="$Number">
<output value="$Number is too small..."/>

This will react with “100 is too small…” on the user's request “one hundred” or “100”.


If you need to include some dates in your patterns, use this custom pattern.

* weather * $Date - matches “What is the weather tomorrow”, “Weather this friday”, “Weather two weeks ago”.

Thus Date pattern matches absolute and relative dates.

As a result this pattern will return a value like this:

  "day" : 14, "month" : 4, "year" : 2016,
  "formatted" : "2016-05-14",
  "date": 1463198400000

Format is self descriptive. date field contains a UNIX time (number of milliseconds) in UTC timezone.


Matches absolute and relative forms of time.

wake [me] up $Time - matches “Wake me up at 7 AM”, “Wake up in 3 minutes”, “Wake up at 18:50”.

As a result this pattern will return a value like this:

  "hour": 5, "minute": 0, "second": 0,
  "part": "PM",
  "relative": false,
  "formatted": "17:00:00"

relative fields tells if this time object was constructed from relative form phrase like “In 2 minutes”.