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

enable paddle lazy load #799

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

enable paddle lazy load #799

wants to merge 2 commits into from

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.

None yet

1 participant