collections argparse re toollz.itertoolz
$ word-counter.py shakespeare.md --numWords 4 --maxTuples 3
=== Sliding Window: 1 ===
3473: 'shall'
2238: 'would'
2153: 'which'
2074: 'their'
=== Sliding Window: 2 ===
248: 'exeunt scene'
117: 'second lord.'
105: 'first lord.'
102: 'queen elizabeth.'
=== Sliding Window: 3 ===
36: 'william shakespeare dramatis'
34: 'shakespeare dramatis personae'
18: 'comes here? enter'
14: 'duke's palace enter'