home *** CD-ROM | disk | FTP | other *** search
- Do you like to solve anagrams? Do you get stumped on word jumbles?
- This may be your lucky day!
-
- JUMBLE is a program that will provide all possible arrangements of any
- input text. Just give it a word and let it go. All you have to do is pick
- out an answer from the list produced. What could be easier?
-
- There is one small problem, though. JUMBLE gives you 'ALL' possible
- arrangements of the input text. The larger word you give it, the longer
- the list of anagrams. And the list grows fast!
-
- Example: 2 letters = 2 words
- 3 letters = 6 words
- 4 letters = 24 words
- 5 letters = 120 words
- 6 letters = 720 words
- 7 letters = 5040 words
- 8 letters = 40320 words
- 9 letters = 362880 words
-
- You don't want to look thru the list for 20 letters, trust me!
-
- I have provided a filter option that may pare down the list for you. If
- you add the -f switch when JUMBLE is run, it will not print 'invalid' words.
- My definition of invalid is any word that has either 3 vowels together or 4
- consonants together. It may not help, but it can't hurt and you don't have
- to use it. If you have another filter condition that you would like, let
- me know and I'll try to add it.
-
- To run, just type JUMBLE (optionally the '-f' flag) then the text. If the
- text has any imbedded spaces just enclose the whole text string in quotes.
- You can ABORT this thing at any time by pressing CTRL-C.
-
- Example: JUMBLE abc
- JUMBLE amiga
- JUMBLE -f amiga
- JUMBLE "hi ho"
- JUMBLE BigWordList <- I hope you have a lot of free time.
-
- I didn't create the algorithm for this myself. I can't remember exactly
- where I stole it from, but it was in PASCAL on an MS-DOS machine somewhere.
- You are free to optimize, change, enhance, or otherwise mangle this all you
- want. I've included the Manx 'C' source code.
-
- I have actually used it to solve the WORD JUMBLE in the Sunday paper so I
- will say that it does do what it is advertised to do. Just keep the words
- short or you will ruin your eyes staring at the screen.
-
- M.D.Groshart
- 26 Jan 89
- AUoH #84
-