fastHan icon indicating copy to clipboard operation
fastHan copied to clipboard

添加用户词典后报错

Open Excuses123 opened this issue 2 years ago • 1 comments

RuntimeError: The size of tensor a (39) must match the size of tensor b (34) at non-singleton dimension 1

全是中文时,能正常分词 image

句子中加入英文单词后就报错 image

use_dict改成False后也能正常分词 image

Excuses123 avatar May 17 '23 07:05 Excuses123

你用的是2.x的版本吗?

fdugzc avatar Nov 11 '23 10:11 fdugzc