This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
wangwei
/
Jiagu
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
update user.dict
master
Yener
6 years ago
parent
bd9c9da0b3
commit
e751fb4f52
2 changed files
with
3 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
jiagu/segment/dict/user.dict
+1
-1
jiagu/segment/nroute.py
+ 2
- 0
jiagu/segment/dict/user.dict
View File
@@ -1,3 +1,5 @@
思知
天猫
知识图谱
张华平
+ 1
- 1
jiagu/segment/nroute.py
View File
@@ -182,7 +182,7 @@ if __name__=='__main__':
# sg.load_userdict('dict/user.dict')
# s.load_userdict(['知识图谱'])
text = '
这一天猫小黑盒
'
text = '
张华平等
'
words = s.seg(text)
print(words)
Write
Preview
Loading…
Cancel
Save