Taken from Gensim Tutorial
- Download the attachment
- Make sure python is installed
- Type
pip install gensim nltk
- If any library is missing, install them as
pip install <library_name>
- Run
python code_runner.py <input folder>
- Here the input folder is the folder that contains the case files
- You can provide the input folder by navigating into the input folder using terminal, and type
pwd
. This provides the path of the input folder - The model will train itself, and after it is finished, run the
python code_checker.py
- You will be asked to enter the sample text for which the relevant documents would be returned.