This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
jiqixuexiyushenduxuexi
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
BUG修复
master
wangsheng
3 years ago
parent
0c9fc24a86
commit
a3ef0351b2
1 changed files
with
3 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-3
自然语言处理/短语挖掘与新词发现/苏剑林/main_sujianlin.py
+ 3
- 3
自然语言处理/短语挖掘与新词发现/苏剑林/main_sujianlin.py
View File
@@ -26,9 +26,9 @@ rt = [] #保存结果用
def isChinese(word):
for ch in word:
if
not
'\u4e00' <= ch <= '\u9fff':
return
Fals
e
return
True
if '\u4e00' <= ch <= '\u9fff':
return
Tru
e
return
False
for m in range(2, max_sep+1):
print(u'正在生成%s字词...'%m)
Write
Preview
Loading…
Cancel
Save