Skip to main content

esanalyzer

The Python Emotion Analysis and Sentiment Analysis library you've been looking for.

## Services
- Emotion Analysis("fear", "anger", "surprise", "sadness", "disgust", "joy")
- Sentiment Analysis("Positive","Negative","Neutral")
- Multi Language Support
- Emoji Support
- Unicodedata Support
- Filter Out Special Characters

## Supported Python Version
- 3.12.3

## Usage
- Install using `pip install esanalyzer`

```python
from esanalyzer import EmotionAnalyzer

#Instance Config
#default requiredOnly = {"sentiment":True,"emotions":False,"googleTranslate":False}
requiredOnly = {"sentiment":True,"emotions":True,"googleTranslate":True}

# Create an instance of EmotionAnalyzer
analyzer = EmotionAnalyzer(requiredOnly)

# 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}

```

Metadata

Release files for esanalyzer 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for esanalyzer 1.2.2
File Interpreter ABI Platform
esanalyzer-1.2.2-py3-none-any.whl Python 3 none any Details

Release files / esanalyzer-1.2.2-py3-none-any.whl

Download URL esanalyzer-1.2.2-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
997ef996fac73d4023649bd11d8d53988f8bb5399654401284925f693e78cc54
BLAKE2b-256 checksum
How to use checksums
540975e6dc966c7306d38d38fc0399da85480379228f369d5b482ecf71d2cd08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.2.2 This release

1 release file

1.2.1

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.9

1 release file

1.0.8

1 release file

1.0.7

1 release file

1.0.6

1 release file

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page