Zhyvr
Sentiment Analysis
22/06/20231,452 views
Imagine being able to instantly understand the mood behind thousands of Kurdish tweets, reviews, or news articles. That's what this project is all about.
During HackaSuly, a regional hackathon, I built a sentiment analysis model designed specifically for the Kurdish language. While sentiment analysis is common for languages like English, there hasn’t been much work done for Kurdish despite millions of speakers.
This project aims to fill that gap, making it possible to track opinions, emotions, and trends in Kurdish text in a way that’s accurate and culturally relevant.
Purpose
The primary goal of this project is to create a robust model capable of accurately classifying the sentiment of Kurdish text. The potential applications of such a model are vast and include:
- Social Media Monitoring — Understanding public opinion, trends, and user sentiment on social platforms in real-time.
- Customer Feedback Analysis — Businesses and organizations can analyze customer feedback, reviews, and comments to gauge satisfaction and improve services.
- Political Opinion Tracking — Tracking sentiment related to political events, elections, or public policies in the Kurdish-speaking regions.
- Market Research — Providing insights into public sentiment that can inform business decisions, advertising strategies, and product development.
By analyzing Kurdish text sentiment, individuals, organizations, and companies can gain valuable insights into public opinion, preferences, and sentiments, enabling better-informed decisions and targeted actions.
Methodology
- Data Collection — The project began by collecting a diverse dataset of Kurdish text from sources such as social media, forums, news articles, and customer feedback platforms.
- Preprocessing — The dataset was cleaned by removing irrelevant text, handling linguistic nuances (such as dialect variations), and standardizing Kurdish script.
- Training Model — A machine learning model, leveraging natural language processing (NLP) techniques, was trained on this preprocessed dataset.
- Evaluation — The performance of the model was evaluated based on metrics like accuracy, precision, recall, and F1-score.
Dependencies
To run this project, you’ll need a few essential Python libraries: NLTK, scikit-learn, FastText, pandas & NumPy.
Conclusion
The Kurdish Sentiment Analysis project opens the door to a wide range of applications from social media monitoring and customer feedback analysis to political insights and market research.
The source code can be found on my GitHub.