Skip to main navigation Skip to search Skip to main content

Lyrics-based Mood Detection in Music using Text Mining Techniques

  • S. Punyashree
  • , G. M. Harshitha*
  • , Rashmi
  • , Anantha Murthy
  • , Keerthi Shetty
  • , Ramyashree
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

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 in-depth 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.

Original languageEnglish
Title of host publication3rd International Conference on Intelligent Data Communication Technologies and Internet of Things, IDCIoT 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages477-486
Number of pages10
ISBN (Electronic)9798331527549
DOIs
Publication statusPublished - 2025
Event3rd International Conference on Intelligent Data Communication Technologies and Internet of Things, IDCIoT 2025 - Bengaluru, India
Duration: 05-02-202507-02-2025

Publication series

Name3rd International Conference on Intelligent Data Communication Technologies and Internet of Things, IDCIoT 2025

Conference

Conference3rd International Conference on Intelligent Data Communication Technologies and Internet of Things, IDCIoT 2025
Country/TerritoryIndia
CityBengaluru
Period05-02-2507-02-25

All Science Journal Classification (ASJC) codes

  • Strategy and Management
  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Information Systems and Management
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Lyrics-based Mood Detection in Music using Text Mining Techniques'. Together they form a unique fingerprint.

Cite this