This project is a search engine that can be used to search for words from text files and json objects. The search engine will return the top 10 most relevant documents based on the search query. The search engine uses the tf-idf algorithm to determine the relevance of a document to a search query.
python -m venv venvsource venv/bin/activate
pip --quiet install -r requirements.txt
- if you want to confirm that the script works, run
python prepare_data.pyor else the data is already prepared - In
main.ipynbrun all the cells to see the results of the search engine