General script to extract all n-character spoonerisms from a corpus