This program generates word codes showing the patterns of repeating letters in words. It is intended for use in breaking simple substitution ciphers such as monoalphabets.
Lets lok at what the parts mean.
The first number, before the dash is the length of the word. After that, there is a number for each letter in the word. Every time a particular letter appears, the corresponding number is the same - both the 'A's is Abba are '1' and both 'B's are '2'. If there are more than nine different letters in a word, then 'A' 'B' 'C' etc are used after '9'. This means that the number after the dash will always be '1'.