/Boolean-Retrieval-Model

Create Inverted index and Positional index for a set of collection to facilitate Boolean Model of IR. Inverted files and Positional files are the primary data structure to support the efficient determination of which documents contain specified terms and at which proximity.

Primary LanguagePython

Boolean Retrieval Model

Goal

The objective of this program is to understand how different indexes work in retrieving different query from a collection

What you will create

A Boolean Retrieval Model consisting of Inverted Index And Positional Index

Finished Website

How to execute

NOTE: You must have python pre-installed in your system

  1. Clone this project on your local repository
git clone <repository link>
  1. Install virtual environment in your system
pip3 install virtualenv
  1. Create virtual environment
virtualenv env
  1. Activate your virtual environment
source env/bin/activate
  1. Install the required packages
pip3 install flask, numpy, nltk
  1. Execute the following command to run the program
python3 app.py

Tools Used

  • Python
  • Flask
  • NLTK
  • HTML
  • CSS
  • Bootstrap

Software Used

  • Visual Studio Code