DictFilt.exe reads the output of one of the candidate word generators (see GenerateCandidates.zip for more), and a "dictionary file", and outputs those candidates which start with a word in the dictionary.

This program takes no arguments.  All filenames are hard-coded (alas).  It expects to find in its working directory:

  unsortedlines.txt - candidates, as written by GenAllDirections.exe
  dict.txt	    - dictionary file, one word per line

When executed, this program creates two files:

  filtered_all.txt         - matched dictionary word of any length
  filtered_5pluschars.txt  - matching word has 5 or more characters

The output file format is the same as the format of unsortedlines.txt, except that the matched dictionary word is appended to the end of the line.

Also included are the two dictionaries that I used:

  just_virgil_dict.txt     - only words from Virgil's website
  virgil_plus_std_dict.txt - the above plus common dictionary words

To use one of these, remember to copy or rename it to "dict.txt" first.

I offer this program so that you can generate your own dictionary to try.  The dictionary file format is pretty simple.  It doesn't have to be broken into lines or sorted, but you should eliminate hyphens and contractions.

If you leave something like "anti-hero" or "can't", the program will treat them as two words for each: "anti" and "hero", and "can" and "t".   I mention this because I think I messed up on this myself.  I hope you have better luck.

As always, no warranties expressed or implied.