From a9bf083d912d8f1deef6f13848733acff29c6ae1 Mon Sep 17 00:00:00 2001 From: vincent d warmerdam Date: Thu, 19 Aug 2021 14:44:38 +0200 Subject: [PATCH] Update sparse_bpemb_featurizer.py --- rasa_nlu_examples/featurizers/sparse/sparse_bpemb_featurizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasa_nlu_examples/featurizers/sparse/sparse_bpemb_featurizer.py b/rasa_nlu_examples/featurizers/sparse/sparse_bpemb_featurizer.py index 3d3fe4b..c16519a 100644 --- a/rasa_nlu_examples/featurizers/sparse/sparse_bpemb_featurizer.py +++ b/rasa_nlu_examples/featurizers/sparse/sparse_bpemb_featurizer.py @@ -364,7 +364,7 @@ def __init__(self, component_config: Optional[Dict[Text, Any]] = None) -> None: model_path = ( Path(component_config["cache_dir"]) / self.component_config["lang"] - / f"en.wiki.bpe.vs{self.component_config['vs']}.model" + / f"{self.component_config["lang"]}.wiki.bpe.vs{self.component_config['vs']}.model" ) if not model_path.exists(): raise FileNotFoundError(