Realising Relevance Ranking

I stumbled across Artem Krylysov's Let's Build a Full-Text Search Engine and thought it would be fun to take the project a step further. This post is an unofficial part 2, where we implement relevance ranking functions such as TF–IDF and BM25. I started with rough feature parity for the search engine, opting for Python instead of Go. I'm using a different Wikipedia dump (2023-12-27) and…