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.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for bosonnlp-0.11.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 778b92d5e177f633de99e0615eb25725e074e29a2fb6b54ca0bd8617294bb70f |
|
MD5 | 59da5f69e7581d97ded0aef9eb99d12c |
|
BLAKE2b-256 | fdcb16f18e4b3a8c93bd59e1e2c2cf954c8a15af5555c39e82873859d6041f08 |