Cyclic Tv Reference Paradox Finder
Cyclic TV Reference Paradoxes occur when a chain of fictional TV show references form a cycle. Each show’s reality depends on another being fictional, so a cycle of these dependencies is a paradox.
Here, in the Simpsons’ fictional universe, Rick and Morty exists as a TV show (shown by the reference). However, in the Rick and Morty fictional universe, The Simpsons also exists as a TV show. These two references create a cycle where each depends on the other being fictional in their respective universe, which cannot both be true simultaneously – a paradox!
This project finds these paradoxes through looking through subtitles files of popular TV shows. It is divided into two sections:
Reference Gen Scripts
A set of python scripts to get the subtitles, and eventually output a CSV file of all TV show references found to be displayed in a web app.
|get_top_tv_show_subtitles.py||Downloads subtitles of the top TV shows listed on The Movie DB. Be sure to set the
|index_srts.py||Indexes all subtitle files downloaded by
|search_subtitles.py||Searches the index generated by
|gen_output_data.py||Generates a graph of TV show references from the index generated by
|find_cycles_in_references.py||Runs a DFS on the graph outputted in
A react web app for visualizing the the graph generated by the Reference Gen Scripts. Run with
npm run start to test locally.