plm-nlp-code icon indicating copy to clipboard operation
plm-nlp-code copied to clipboard

第二章 分词 load_dict 函数 分词失败的解释

Open ji90po opened this issue 1 year ago • 0 comments

load_dict 函数 不是 fopen(XXX,'rb') 这样只能分的一个个汉字 应该是 fopen(XXX, 'r' , encoding='UTF-8')

image

ji90po avatar Sep 06 '23 15:09 ji90po