gnsentiment

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


Keywords
GNSentiment, Analyzing, sentiment
License
MIT
Install
pip install gnsentiment==0.0.1

Documentation

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