BosonNLP.com API wrapper.
Project description
BosonNLP HTTP API 封装库(SDK)。
安装
bosonnlp 代码托管在 GitHub,并且已经发布到 PyPI,可以直接通过 pip 安装:
$ pip install bosonnlp
bosonnlp 以 MIT 协议发布。
使用教程
>>> from bosonnlp import BosonNLP >>> nlp = BosonNLP('YOUR_API_TOKEN') >>> nlp.sentiment('这家味道还不错') [[0.8758192096636473, 0.12418079033635264]]
SDK API 文档地址:http://bosonnlp-py.readthedocs.org/
可以在 BosonNLP 文档站点阅读详细的 BosonNLP HTTP API 文档。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bosonnlp-0.11.1.tar.gz
(11.1 kB
view hashes)
Built Distribution
Close
Hashes for bosonnlp-0.11.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c3adc80d24cd035f4d50db145715088e5ab9fe2d0d85e280f6774f9a520fbe2 |
|
MD5 | 4671b8fb96b45d835a3194182332a10a |
|
BLAKE2b-256 | 63b65da230acd1a89709b77187e54f14d70de33511a606f78bec0621552a5671 |