views:

989

answers:

4

I am looking for a simple text file that contains all the words in a moderm dictionary.

I play a game called scramble, and would like to create a program that takes an input of letters and will tell me what kind of words could be made out of the combination of letters.

DNOC
DCIA
ELRJ
IIOT


Circle, Cocain, Jailed, Carol can be made out of the previous input, but words like Tan, Coat, Not can not be made since their letters are not touching. I am going to do a recursive search on the input, but need a list of words to compare it to.

+5  A: 

Look for /usr/share/dict/words on your common or garden variety Unix install.

chaos
I bet you could find the file online somewhere too...
David Zaslavsky
thats what i am looking for.
Jose Vega
Random instance: http://codeismightier.com/wp-content/uploads/2008/10/american-english
chaos
cat /usr/share/dict/words > words.txt
Jose Vega
+1  A: 

GNU has a dictionary XML file that you might be able to use. At one point, I thought GNU offered a plain-text version of an unabridged dictionary, but I can't seem to find it now.

http://www.ibiblio.org/webster/

Andy White
A: 

I suggest having a look here :

http://wordlist.sourceforge.net/

Theo.T