WordPat

Generates word codes showing the patterns of repeating letters in words
Download

WordPat Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Paul Johnston
  • Operating Systems:
  • Windows All
  • File Size:
  • 158 KB

WordPat Tags


WordPat Description

The WordPat application was developed to be a small program that generates word codes showing the patterns of repeating letters in words. It is intended for use in breaking simple substitution ciphers such as mono-alphabets. You can use the program to calculate a pattern from a word, and (usually) to find the words that fit a given pattern. To calculate a word pattern, simple type 'wordpat' and enter the word when prompted. All non-alphabetic characters in the word will be ignored. Going the other way round is somewhat more difficult. The idea is that the program generates a huge list of word patterns, and the words that have these patterns. To make this, it needs a word list - a text file containing many words. These are available on the Internet, and often included in Unix installations. The word list should be separated by spaces and/or new line characters. No line should be more than 255 characters long (include new line characters). All non-alphabetic characters will be ignored; case does not matter; duplicate words will be recognized, and only one copy included in the output. To generate the list of word patterns, type 'wordpat wordlist1 wordlist2 ...' where wordlistX is the file name of each word list you have. This may take some time, depending on the length of your word lists and the speed of your computer. Note that whilst doing this, the SORT program is used - so this must be in your path. When the program has completed, it will have generated several .WL files. They are named according to the length of the words then contain - 3.WL has all the three letter words, and so on. Inside each file, the patterns appear in sorted order, and on the lines following each pattern are all the words which fit that pattern, in sorted order. Patterns which no words fit are not included in the .WL file. So, if you have a pattern and you want to find the words that match it, you open the appropriate .WL file, locate the pattern and if present the words are immediately beneath the pattern. If the pattern is not present, the word list did not contain a word with that pattern.


WordPat Related Software