Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ji90po opened this issue Sep 6, 2023 · 0 comments
Open

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

ji90po opened this issue Sep 6, 2023 · 0 comments

Comments

@ji90po
Copy link

ji90po commented Sep 6, 2023

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

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant