This is a Machine Learning experiment, check out the blog post and code for this here.
First time load of the model is initially slow, then subsequent searches are faster, one way to improve this might be with caching and/or a service worker.
This isn't intended as realistic/production example it was just for fun.
Below I've auto populated the Search box with an example query, feel free to have a play!