Closed adrienball closed 5 years ago
Description This PR introduces a new optional parameter to the parse API of the SnipsNluEngine object, which allows to blacklist intents:
parse
SnipsNluEngine
impl SnipsNluEngine { pub fn parse( &self, input: &str, intents_whitelist: Option<Vec<&str>>, intents_blacklist: Option<Vec<&str>>, ) -> Result<IntentParserResult>; }
Description This PR introduces a new optional parameter to the
parse
API of theSnipsNluEngine
object, which allows to blacklist intents: