How to Build A Vertical Search Engine Using Python?

What is a vertical search engine?

A search engine for airplane crashes

Dataset (Airplane Crashes from 1902 to 2020)

Setup the environment

pip install -r requirements.txt

Preprocessing

this is the earliest known airliner hijacking
This, is, the, earliest, known, airliner, hijacking
earliest, known, airliner, hijacking
earliest, known, airliner, hijack

TF-IDF

Ranking documents

Python Implementation

User Search Query

bm25.get_top_n(tokenized_query, corpus, n=1)

To sum up

Next…

I am a Data Science student at the University of Michigan.