Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson21-diy3
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
003705bc
authored
Aug 24, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
72cd91a4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
experienment.py
my_wordcloud.png
experienment.py
0 → 100644
View file @
003705bc
import
jieba
content
=
'一条小狗在吃骨头一头猪在津津有味地吃地瓜'
list1
=
jieba
.
lcut
(
content
)
list2
=
jieba
.
lcut
(
content
,
cut_all
=
True
)
list3
=
jieba
.
lcut_for_search
(
content
)
print
(
list1
)
print
(
list2
)
print
(
list3
)
\ No newline at end of file
my_wordcloud.png
View file @
003705bc
228 KB
|
W:
|
H:
227 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment