Wordmatch

I was given a puzzle. The puzzle's clue was a letter; the puzzle itself was a
series of numbers and punctuation marks. The trick was to reverse the clue and
then each letter in the puzzle was the index of the clue word that went there
from the plaintext. Not the cleanest, but it'll do.
slightly saner gitignore plz and thx
freq

I appear to have been trying to automate breaking a letter to arbitrary length
space-delineated string substitution cipher. It... sort of works? Insufficient
for small corpuses such as one typically finds in a short coded note, though.