Emotion and Sentiment Analysis
Project description
esanalyzer
The Python Emotion and Sentiment Analysis library you've been looking for.
## Services
- Emotion Analysis
- Sentiment Analysis
## Usage
- Install using `pip install esanalyzer`
```python
from esanalyzer.emotion_analyzer import EmotionAnalyzer
# Create an instance of EmotionAnalyzer
analyzer = EmotionAnalyzer()
# Call the analyze method with the text
text = "Wow, I am so happy"
result = analyzer.analyze(text)
# Use the result as needed
print(result)
{'library': 'default', 'result': {'surprise': 80}, 'max_prediction': {'label': 'surprise', 'percentage': 80}, 'sentiment': 'Positive', 'sentiment_score': 0.999592125415802, 'threshold_value': 0.8}
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
esanalyzer-1.0.3.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for esanalyzer-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dad9f7a6d71941513ae50487ba70999a6ff6bb50eda294ce87161c9711124a76 |
|
MD5 | 5cd714bfebb5da9a3e36475ba901e35d |
|
BLAKE2b-256 | 99bff636cb0f82a2d9014911c0a4fd0698451e1aa229bf0c2a2d44f5824f1935 |