My very dear Tech Support has added a new tool to the Digital Humanities Toolkit (which is also linked on our About page). It is random-choice.py and it will grab your choice of a number of words from a given text file as randomly as a computer can grab and present them on your Terminal window along with the ordinal number of that word in the text. It will grab numbers as though they are words, but it will not grab things inside of square brackets (like our paragraph references) or double-x (like our phrase separator). It’s a short little bit of code, so I simply copy/pasted it from github to a text file and named it random-choice.py. Seems to have worked.
Thank you to Daroc Alden, who always has the time to write a little script for their Mama, even during mid-terms.