crownpku / Rasa_NLU_Chi

Turn Chinese natural language into structured data 中文自然语言理解
Apache License 2.0
1.51k stars 423 forks source link

Failed to find component class for 'tokenizer_jieba' #34

Open GenjiWu opened 6 years ago

GenjiWu commented 6 years ago

Rasa NLU version (e.g. 0.7.3): 最新 Used backend / pipeline (mitie, spacy_sklearn, ...): config_jieba_mitie_sklearn Operating system (windows, osx, ...): win10 64 Issue: 用example和自带的配置进行训练时抛出异常

File "C:\Users\10309\Anaconda3\lib\site-packages\rasa_nlu\registry.py", line 136, in get_component_class

Exception: Failed to find component class for 'tokenizer_jieba'. Unknown component name. Check your configured pipeline and make sure the mentioned component is not misspelled. If you are creating your own component, make sure it is either listed as part of the component_classes in rasa_nlu.registry.py or is a proper name of a class in a module.

确定已经安装jieba

crownpku commented 6 years ago

你是用的官方的rasa_nlu还是这个仓库的rasa_nlu_chi?

xwj0813 commented 6 years ago

@crownpku 你好,我也想问一下,怎么添加自定义分词?我已经将USER_DICTS_FOLDER_NAME 和USER_DICT_FILE_NAME 设置了自己的路径,为什么老是显示“No Jieba User Dictionary found” 求解答,不胜感激