Lyrics-Based Mood Detection in Music Using Text Mining Techniques
This paper classifies songs based on lyrical content for the growing demand of better user experiences and personal music recommendations. The main idea is to come up with a classifier that could determine whether a song is happy, sad, calm, or energetic based on the lyrics. It uses indepth text analysis over data retrieved from kaggle(Spotify) to see word distributions which differ across categories of emotions. Achieving meaningful text representation, feature selection uses the Bag of Words (BOW) model, along with Part-of-Speech (POS) tagging and stemming through WordNet. The classification model built with Random Forest and XGBoost uses hyperparameter tuning through grid search to improve model performance. The outcome of this research demonstrates the effective application of text mining techniques in Python to analyze, categorize, and predict the emotion of music, thus offering a more personalized music experience for users.
Authors
- Anantha Murthy (ORCID: https://orcid.org/0000-0002-9009-7541)
- Ramyashree Ramyashree (ORCID: https://orcid.org/0000-0002-0237-2444)
- G M Harshitha
- Rashmi Rashmi
- Keerthi Shetty
- S Punyashree
Institutions
- Manipal Academy of Higher Education (IN)
Publication Details
- Published
- 2025-02-05
- DOI
- https://doi.org/10.1109/idciot64235.2025.10914753
- Primary Topic
- Music and Audio Processing
- Type
- article
- Field-Weighted Citation Impact
- 0.00