snips-nlu
snips-nlu copied to clipboard
Multiple instances of the same processing units in one pipeline?
Question Hello I was wondering if it was possible to have for instance the follonwing pipeline
{
"unit_name": "deterministic_intent_parser",
"ignore_stop_words": False ,
},
{
"unit_name": "lookup_intent_parser",
"ignore_stop_words": False
},
{
"unit_name": "lookup_intent_parser",
"ignore_stop_words": True
},
{
"unit_name": "probabilistic_intent_parser",
....
}
The idea is to check for an exact match first then a match with no stop words and last use the probabilistic model
Thanks in advance Hicham