Goal

The goal was to provide a search engine which can simply find an exact episode of a TV show just by searching a sentence of a script.

What it does

It gets the user's sentence which is part of a script that they remember about an episode but they don't know which episode it was. So the bot will get the sentence from the user and match it with the database to find the best match which is the exact episode number.

How we built it

We used python language to build an inverted index dictionary similar to all search engines. The program indexes each word based on its frequency in each document. Many optimizations are used in order to retrieve documents so fast. It also includes wildcard search, n-gram, ranking, document weight and frequency, normalization stopwords and porter stemmer. You can search any word and every document that contains that word will be retrieved.

Challenges we ran into

Connecting telegram bot API to our inverted index.

What's next for FindMovieEpisodes

The bot is now limited to the Friends TV show according to the limited time. However, we're going to expand our database to the most favorite TV show of all time.

Built With

Share this project:

Updates