2019-05-11 18:37:59 +03:00
|
|
|
{
|
|
|
|
"color": {
|
|
|
|
"run": {
|
2022-02-10 17:11:17 +03:00
|
|
|
"utterance_samples": [
|
2019-05-11 18:37:59 +03:00
|
|
|
"I like that color"
|
|
|
|
],
|
|
|
|
"entities": [
|
|
|
|
{
|
|
|
|
"type": "regex",
|
|
|
|
"name": "color",
|
|
|
|
"regex": "blue|white|red"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"unittest": {
|
|
|
|
"do_not_support_entity": {
|
2022-02-10 17:11:17 +03:00
|
|
|
"utterance_samples": [
|
|
|
|
"Just an utterance sample"
|
2019-05-11 18:37:59 +03:00
|
|
|
],
|
|
|
|
"entities": [
|
|
|
|
{
|
|
|
|
"type": "not_supported_entity"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"mockingbird": {
|
|
|
|
"test": {
|
2022-02-10 17:11:17 +03:00
|
|
|
"utterance_samples": [
|
2019-05-11 18:37:59 +03:00
|
|
|
"Whistle as a bird"
|
|
|
|
],
|
|
|
|
"entities": [
|
|
|
|
{
|
|
|
|
"type": "trim",
|
|
|
|
"name": "start",
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"type": "before",
|
|
|
|
"to": "bird"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "trim",
|
|
|
|
"name": "animal",
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"type": "after_last",
|
|
|
|
"from": "a"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|