2019-05-03 18:31:09 +03:00
|
|
|
{
|
|
|
|
"todolist": {
|
|
|
|
"create_list": {
|
|
|
|
"expressions": [
|
2019-05-04 04:26:11 +03:00
|
|
|
"Create the list",
|
|
|
|
"Create a list"
|
2019-05-10 03:45:43 +03:00
|
|
|
],
|
|
|
|
"entities": [
|
|
|
|
{
|
|
|
|
"type": "regex",
|
2019-05-11 13:09:05 +03:00
|
|
|
"name": "color",
|
|
|
|
"regex": "red|blue|green"
|
2019-05-10 03:45:43 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "trim",
|
|
|
|
"name": "list",
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"type": "between",
|
|
|
|
"from": "create the",
|
|
|
|
"to": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "between",
|
|
|
|
"from": "create a",
|
|
|
|
"to": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "between",
|
|
|
|
"from": "create an",
|
|
|
|
"to": "list"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "between",
|
|
|
|
"from": "create my",
|
|
|
|
"to": "list"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2019-05-04 04:26:11 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"rename_list": {
|
|
|
|
"expressions": [
|
|
|
|
"Rename the list to list",
|
|
|
|
"Rename my list to list"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"delete_list": {
|
|
|
|
"expressions": [
|
|
|
|
"Delete the list",
|
|
|
|
"Delete my list"
|
2019-05-03 18:31:09 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"add_todo": {
|
|
|
|
"expressions": [
|
2019-05-04 04:26:11 +03:00
|
|
|
"Add to the list",
|
|
|
|
"Add to my list"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"complete_todo": {
|
|
|
|
"expressions": [
|
|
|
|
"Complete from the list",
|
|
|
|
"Complete from my list"
|
|
|
|
]
|
2019-05-03 18:31:09 +03:00
|
|
|
},
|
2019-05-04 04:26:11 +03:00
|
|
|
"archive_todo": {
|
2019-05-03 18:31:09 +03:00
|
|
|
"expressions": [
|
2019-05-04 04:26:11 +03:00
|
|
|
"Archive from the list",
|
|
|
|
"Archive from my list"
|
2019-05-03 18:31:09 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|