Git Product home page Git Product logo

lyrics_retrieval's Introduction

SONG'S INFORMATION RETRIEVAL BASED ON LYRICS

alt text

Introduction

Information Retrieval is the process through which a computer system can respond to a user's query for text-based information on a specific topic. IR was one of the first and remains one of the most important problems in the domain of natural laguague processing (NLP) - stanford cs276

This Search Engine gives the result information about the song based on the relevance of the query about the lyrics provided by the user.

Motivation

The system supports users to search for songs based on a query from the lyrics.

We build an appilcation with similar idea with Shazam, MusixMatch

Data

The database we use for this retrieval model is from Song Lyrics Dataset on Kaggle.

This dataset contains lyric of songs by various artists. Thanks to The Author for creating this dataset, and for inspiring us to make this project.

Requirements

  • numpy
  • pandas
  • re
  • pickle
  • json
  • nltk
  • rank_bm25

Install all packages with the line: pip install -r requirements.txt

After installing the NLTK package, please do install NLTK Data for specific functions to work. Following this command in your terminal:

python
import nltk
nltk.download('popular')

Usage

We deployed our application to Streamlit framework for demo purposes of our project.

To run it, firstly, install the environment according to the requirements section above.

Then, run with the line: streamlit run music-retrieval.py

Or without using Streamlit framework, you can run with jupyter notebook file: jupyter notebook Information_Retrieval.ipynb

Remember to load the data file music_data.csv to be able to perform the next operations.

You can use your own custom music database by creating a file with the same structure as our data file music_data.csv.

lyrics_retrieval's People

Contributors

htuannn avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

clorenzol

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.