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

Day 07统计出来的结果为什么还有英文字母的词频 #5377

Open
yaodadada opened this issue Aug 12, 2019 · 1 comment
Open

Day 07统计出来的结果为什么还有英文字母的词频 #5377

yaodadada opened this issue Aug 12, 2019 · 1 comment

Comments

@yaodadada
Copy link
Contributor

统计字母

用str类型的isascii方法判断是英文单词时,统计出来的结果为什么还有英文字母的词频。该怎么去掉呢?

@yaodadada yaodadada changed the title 统计出来的结果为什么还有英文字母的词频 Day 07统计出来的结果为什么还有英文字母的词频 Aug 12, 2019
@XINGRUFANG
Copy link
Collaborator

XINGRUFANG commented Aug 12, 2019

刚刚已经找到问题了,问题在stats_text_cn函数中

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

2 participants