Skip to content
This repository was archived by the owner on Jul 14, 2026. It is now read-only.

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

PullWord3

A Python 3 Client for PullWord

Python 3.5 Python 3.6 Python 3.7 Python 3.8

What's PullWord

PullWord:永久免费的基于深度学习的中文在线抽词

PullWord Website

PullWord API

http://api.pullword.com/

What's PullWord3 (Python)

A Python3 Client for PullWord

How to use PullWord3 (Python)

from pullword3 import pullword
sentence = '这是一个伸手不见五指的黑夜。我叫孙悟空,我爱北京,我爱Python和C++。'
print(pullword(sentence))

Output

[{'t': '这是', 'p': '0.821296'}, {'t': '一个', 'p': '1'}, {'t': '伸手不见五指', 'p': '0.976794'}, {'t': '不见', 'p': '0.831597'}, {'t': '五指', 'p': '0.976527'}, {'t': '黑夜', 'p': '1'}, {'t': '我叫', 'p': '0.895989'}, {'t': '孙悟空', 'p': '0.801972'}, {'t': '我爱北京', 'p': '0.968947'}, {'t': '北京', 'p': '0.856976'}, {'t': '我爱', 'p': '1'}, {'t': 'python', 'p': '1'}]

Similar Projects

Author

PullWord3 @CoderTesla , Released under the MIT License.

About

A Python 3 Client for PullWord

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages