snipsco / snips-nlu-rs

Snips NLU rust implementation
https://snips.ai
Other
340 stars 56 forks source link

Fix caching issue in CustomEntityParser #138

Closed adrienball closed 5 years ago

adrienball commented 5 years ago

Description The way we compute the caching key when calling the extract_entities API of the CustomEntityParser object was wrong. Indeed, using a None scope was treated equally than using an empty (vec![]) scope.