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.

Source Distribution

bosonnlp-0.11.1.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

bosonnlp-0.11.1-py2.py3-none-any.whl (12.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bosonnlp-0.11.1.tar.gz.

File metadata

  • Download URL: bosonnlp-0.11.1.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for bosonnlp-0.11.1.tar.gz
Algorithm Hash digest
SHA256 818e9907294b516fa5c57c2db8eeca31afd8a2ce6f186b93f228ca963f1909b0
MD5 71c80af0da357b96c799d6280d641a12
BLAKE2b-256 3a8346369bc77ff33784fc9747ae1fe46ac38d94dc4cfe885c74eb12824cb6ce

See more details on using hashes here.

File details

Details for the file bosonnlp-0.11.1-py2.py3-none-any.whl.

File metadata

  • Download URL: bosonnlp-0.11.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for bosonnlp-0.11.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3c3adc80d24cd035f4d50db145715088e5ab9fe2d0d85e280f6774f9a520fbe2
MD5 4671b8fb96b45d835a3194182332a10a
BLAKE2b-256 63b65da230acd1a89709b77187e54f14d70de33511a606f78bec0621552a5671

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page