Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
bosonnlp-0.11.0-py2.py3-none-any.whl (12.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Oct 26, 2017
bosonnlp-0.11.0.tar.gz (10.7 kB) Copy SHA256 hash SHA256 Source None Oct 26, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page