This repository contains the project completed in the partial fulfillment of the course Information Retrieval (CS F469) by Dr. Vinti Agarwal.
For more details regarding the problem statement, refer problem statement
For more details about the approach and example results, refer project report
Python version above 3.8 required for smooth functioning.
Create and Activate virtual environment
$ python3 -m venv ./venv/
$ source venv/bin/activate
Install dependencies
$ pip install -r requirements.txt
Change directory to go to basic/imrproved1/improved2 model :
$ cd model_name_VSMODEL
$ python read.py
To run the query
$ cd model_name_VSMODEL
$ python test_queries.py
A file named readable_content_index.txt is generated which contains indexes in a readable format.