Generate a list of word pairs from Moby Dick.
Taken from Matt Brocklin’s post on text benchmarks.
Nice use of pipe and sliding_window here!
Install PyToolz before running: pip install toolz.
pip install toolz