I’ve been running a series called Experiments in Style, in which I take a fairly bland story and rewrite it in different ways. One of my most recent efforts was synchysis. This is where you use the same words as in the original, but in a different order.
I did this manually, but then a couple of people and I started to discuss how we might use technology to speed up the process (my attempt by hand so to speak took me five hours!).
Here’s the original, followed by a post in which two spreadsheets are available. Read the comments on the latter in order to see the Python version.