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
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
gnsentiment-0.0.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for gnsentiment-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e7d5d2959c9141384298c04af51c9b4b607d891bc6ce2cf9c1730276a40675 |
|
MD5 | b814018de9afa7847b61bc640bfb3842 |
|
BLAKE2b-256 | 6cfc119b6d4642b90813e7b70a8f277f772450286bf40416257be1f622c2e568 |