1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-20 15:21:36 +03:00
leon/packages/calendar/data/expressions/en.json

254 lines
5.2 KiB
JSON

{
"todolist": {
"create_list": {
"expressions": [
"Create the x list",
"Create a x list"
],
"entities": [
{
"type": "trim",
"name": "list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "a",
"to": "list"
},
{
"type": "between",
"from": "an",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
}
]
},
"view_lists": {
"expressions": [
"Show all the lists",
"Show all my lists",
"What are the lists?",
"What are my lists?"
]
},
"view_list": {
"expressions": [
"Show my x list",
"Show the x list",
"What is in my x list?",
"What is in the x list?"
],
"entities": [
{
"type": "trim",
"name": "list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
}
]
},
"rename_list": {
"expressions": [
"Rename the x list to y",
"Rename my x list to y"
],
"entities": [
{
"type": "trim",
"name": "old_list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
},
{
"type": "trim",
"name": "new_list",
"conditions": [
{
"type": "after",
"from": "to"
}
]
}
]
},
"delete_list": {
"expressions": [
"Delete the x list",
"Delete my x list"
],
"entities": [
{
"type": "trim",
"name": "list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
}
]
},
"add_todos": {
"expressions": [
"Add x to the list x",
"Add x to my list x"
],
"entities": [
{
"type": "trim",
"name": "todos",
"conditions": [
{
"type": "between",
"from": "add",
"to": "to"
}
]
},
{
"type": "trim",
"name": "list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
}
]
},
"complete_todos": {
"expressions": [
"Check x from the x list",
"Check x from my x list",
"Complete x from my x list",
"Tick x from my x list"
],
"entities": [
{
"type": "trim",
"name": "todos",
"conditions": [
{
"type": "between",
"from": "check",
"to": "from"
},
{
"type": "between",
"from": "complete",
"to": "from"
},
{
"type": "between",
"from": "tick",
"to": "from"
}
]
},
{
"type": "trim",
"name": "list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
}
]
},
"uncheck_todos": {
"expressions": [
"Uncheck x from the x list",
"Uncheck x from my x list",
"Untick x from my x list"
],
"entities": [
{
"type": "trim",
"name": "todos",
"conditions": [
{
"type": "between",
"from": "uncheck",
"to": "from"
},
{
"type": "between",
"from": "untick",
"to": "from"
}
]
},
{
"type": "trim",
"name": "list",
"conditions": [
{
"type": "between",
"from": "the",
"to": "list"
},
{
"type": "between",
"from": "my",
"to": "list"
}
]
}
]
}
}
}