Skip to content

enable paddle lazy load#799

Open
JesseyXujin wants to merge 2 commits intofxsjy:masterfrom
JesseyXujin:jieba_paddle_check
Open

enable paddle lazy load#799
JesseyXujin wants to merge 2 commits intofxsjy:masterfrom
JesseyXujin:jieba_paddle_check

Conversation

@JesseyXujin
Copy link
Contributor

Add enable_paddle interface to enable paddle.
Use example:
import jieba
jieba.enable_paddle()
strs=[u"我来到北京清华大学",u"乒乓球拍卖完了",u"中国科学技术大学"]
for str1 in strs:
seg_list = jieba.cut(str1,use_paddle=True)
print(' '.join(list(seg_list)))

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

Successfully merging this pull request may close these issues.

1 participant