- Setup: Create a virtual environment (Python 3.11.2):
> <path of your python installation>/python -m venv si650 > si650\Scripts\activate (Windows) or si650/bin/activate (Mac & others) > python -m pip install -r requirements.txt - Download the data files from this folder and place them under
data/:processed_articles_dedup_nsfwtags_sarcasm.csvstopwords_updated.txtmultiword_expressions.csvrelevance_train.csvrelevance_test.csvrelevance_dev.csvbody_embeddings.npy
- Navigate to
app/and run this command to launch the search engine in the browser (http://127.0.0.1:8000/):> python -m uvicorn app:app - The default ranker is BM25.
- Check the 'Safe Search' box to filter out explicit results.