Importing subprocess module as "sp" now.
Did some work trying to get substring replacements working; stripping some unwanted punctuation from the string passed to select_pun; now importing Levenshtein module as "leven".