Metadata-Version: 2.1
Name: aliendev-sentiment
Version: 0.1.5
Summary: 
Home-page: https://github.com/masnasri-a
License: MIT
Author: Nasri Adzlani
Author-email: nasriadzlani@live.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: deep-translator (>=1.11.4,<2.0.0)
Requires-Dist: vadersentiment (>=3.3.2,<4.0.0)
Project-URL: Repository, https://github.com/masnasri-a/aliendev-sentiment
Description-Content-Type: text/markdown

## AlienDev Sentiment Analyzer

AlienDev Sentiment Analyzer is a Python library that allows you to analyze the sentiment of textual content. This library makes use of the Google Translator API for translation and the VADER Sentiment Analysis tool for sentiment analysis.

### Installation

You can install AlienDev Sentiment Analyzer using pip:

```bash
pip install aliendev-sentiment
```

### Usage

Here's an example of how to use AlienDev Sentiment Analyzer:

```python
from aliendev_sentiment import SentimentAnalyzer

# Define the content dictionary
content = {
    "content": "..."  # Your content goes here
}

# Create a SentimentAnalyzer instance
sentiment = SentimentAnalyzer(content=content.get("content"))

# Analyze sentiment
response = sentiment.analyze_sentiment()

print("Sentiment:", response)
```

Replace the `"..."` placeholder in the `content` dictionary with your actual textual content that you want to analyze for sentiment.

### Output

The `analyze_sentiment` method of the `SentimentAnalyzer` class will return a sentiment label, which could be one of the following:
- "Positive"
- "Neutral"
- "Negative"

### Disclaimer

This library is intended for educational and informational purposes only. The sentiment analysis results provided are based on algorithms and may not accurately reflect human sentiment. Decision-making based on the sentiment analysis results should be done with caution.


