Skip to main content

GN-Sentiment (Natural language API - Sentiment) is a Python library for analyzing sentiments with GCP.

Project description

Natural Language API - Sentiment (GCP)

GN-Sentiment (Natural language API - Sentiment) is a Python library for analyzing sentiments with GCP.

Installation

Use the package manager pip to install gnsentiment.

pip install gnsentiment

or

pip install -i https://test.pypi.org/simple/ gnsentiment

Usage

from gnsentiment import Gnsentiment

s = Gnsentiment('path_key.json')

s.analyze_sentiment('ejemplo texto')
# return: dict(...)

s.sentiment(1)
# return: 1

License

MIT

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

gnsentiment-0.0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

gnsentiment-0.0.1-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

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