Table of Contents
Initialize a New Python Environment:
python -m pip venv env
Activate The Env by Running:
env\Scripts\activate
Install Requirements:
python -m pip install -r requirement.txt
And Run The Following:
python data_to_matrix.py
Run The Code With The Following Command:
python main.py
Alternatively If The Env Is Not Active:
.\env\Scripts\python main.py
In 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.py
This 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 - [email protected]