ProjectSearch

This is a pseudo-search engine which goes through notes and gives answers to questions. This project is work in progress(the code works). We expect to make a python program which takes notes in .txt format and ask for questions and answer them.

Instructions to run the code

  1. Make a python virtual environment by running this command in the terminal.
    python3 -m venv venv
    
  2. Activate the virtual environment by running this command
    source src/venv/Scripts/activate
    
  3. Install all the required packages by running this command
    pip3 install requirements.txt
    
  4. Run the code by running this command.
    python3 src/main.py corpus
    

Directory Structure

📦src
┣ 📂data
┃ ┣ 📂corpus
┃ ┃ ┣ 📜artificial_intelligence.txt
┃ ┃ ┣ 📜machine_learning.txt
┃ ┃ ┣ 📜natural_language_processing.txt
┃ ┃ ┣ 📜neural_network.txt
┃ ┃ ┣ 📜probability.txt
┃ ┃ ┗ 📜python.txt
┃ ┗ 📜loadData.py
┣ 📂process
┃ ┣ 📜qprocess.py
┃ ┗ 📜tfidf.py
┣ 📂tests
┃ ┗ 📜tests.py
┣ 📜main.py
┗  📜requirements.txt

src/ directory

files

We have 4 scripts as of now

main.py

data.py

tfidf.py

qprocess.py

Deadline

We expect to complete this project before March 2021