Doctor-Friende
Doctor-Friende copied to clipboard
训练数据问题
“ UserWarning: Failed to use example '患感冒咋治呀' to train MITIE entity extractor. Example will be skipped.Error: Invalid entity {'end': 3, 'entity': 'disease', 'start': 1, 'value': '感冒'} in example '患感冒咋治呀': entities must span whole tokens. Wrong entity start. /home/hcl/miniconda3/envs/tf2/lib/python3.7/site-packages/rasa/shared/utils/io.py:93: UserWarning: Failed to use example '如何治感冒时啊' to train MITIE entity extractor. Example will be skipped.Error: Invalid entity {'end': 5, 'entity': 'disease', 'start': 3, 'value': '感冒'} in example '如何治感冒时啊': entities must span whole tokens. Wrong entity start.“ 训练nlu时出现警告如上,经查阅怀疑是结巴分词有误,是不是要在jieba_userdict中添加相应词才可以?
同样的问题,另外看了下jieba词典中有”感冒“这个词条,不知道解决了吗?