Skip to content

Search Engine That Takes a Query and Retrieves Top 10 Matching Songs from a Local Dataset

Notifications You must be signed in to change notification settings

legobridge/lyrics-search-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lyrics Search Engine

Author - Kushal Agrawal

The following two methods can be employed to run the program:

  1. Standalone Executables - The author has provided standalone executable files ("preprocess" and "search", with no file extensions) that can be executed without installing any software (not even the Python interpreter is required) on Linux based operating systems.

  2. Compile and Run - The compilation and execution of this program requires that the user have Python 3 installed on their system. Additional modules required for proper functioning are: a) h5py b) Porter Stemmer After installing Python 3 and the aforementioned modules, one only needs to run the two python scripts "preprocess.py" and "search.py" by typing "python3 .py" in whatever terminal/console one prefers.

The lyrics from "Example Queries.txt" can be used to test the Search Engine.

Note - The "preprocess.py" script needs to be run only once (and in fact, not even once since the author has provided the two files that the script generates along with the code). The existence of the preprocessed files is necessary for the functioning of "search.py".

GitHub Note - The 100.0 MB file size limit of GitHub prohibits the inclusion of the 300 MB msd_summary_file.h5, and so it can be obtained and put in the correct directory by downloading it from here.

About

Search Engine That Takes a Query and Retrieves Top 10 Matching Songs from a Local Dataset

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages