Skip to content

About

This project uses web scraping to download song text and uses Natural Language Processing (NLP) to predict an artist based a line of song text

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

26 Commits

Folders and files

Repository files navigation

Lyrics Classifier

The project performs webscraping on www.metrolyrics.com to download the song lyrics. A Multinomial-Naive-Bayes model is trained on a set of artist lyrics, using bag-of-words and SMOTE Oversampler. This model is used then to predict the artist to a given song line.

Downloading Lyrics

Run python get_lyrics.py

Downloading lyrics

Train Model

Run python model.py to train model based on specified artists.

Train model

Predict artist

Run python predict_artist.py

Prediction

About

This project uses web scraping to download song text and uses Natural Language Processing (NLP) to predict an artist based a line of song text

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages