Table of Contents
Initialize a New Python Environment:
python -m pip venv envActivate The Env by Running:
env\Scripts\activateInstall Requirements:
python -m pip install -r requirement.txtAnd Run The Following:
python data_to_matrix.pyRun The Code With The Following Command:
python main.pyAlternatively If The Env Is Not Active:
.\env\Scripts\python main.pyIn The Prompt You Can Search For A Document, Leading To A Result Much Like How A Google Search Would Look Using The Vector Graph Modeling Technique.
You Can Also Use The data_to_matrix.py File To Create A Matrix Of The Words In Your Documents:
python data_to_matrix.pyThis Will Generate A matrix.csv File That main.py Can Use To Search. This Also Means That You Can Use Your Own Documents File In The Style Of data.csv An Use Your Own Dataset.
Mehran Arkak - mehran.arkak@protonmail.com