Hi,
This is the knocked up cleaner for agi dictionary files. This fixes the corrupted words.tok that have occured for some people. All it does is sort words but I'll add some other needed features later and let you know.
Available for download
HEREI have tested it with Tomas Unosson's words.tok and it produces a clean workable file. It's exactly the same as what agi studio produces when it's not affected by the bug too.
Another thing, please don't post this on other websites yet until I clean things up a bit more. Source is available in the public domain, so do whatever you wish. And yes, I know the name of the executable sounds a bit iffy.. but I thought it was funny.

also, PLEASE let me know if it works for you and if it fixes any problems that may have had.
To use (from docs):
Run dictclean.exe in the same directory as "words.tok"
Check out "words.tok.new" for new file.
Will have to rename for agi studio or AGI to find it though.
If you get an "assertion failed" error, it may just because "words.tok" isn't in the same directory as the exectuable. If the error still continues, please send me the full error's details and I will try and fix it.
- Nick