Thread: need dictionary file!

  1. #1
    Registered User
    Join Date
    Mar 2009
    Location
    Louisville, KY
    Posts
    3

    need dictionary file!

    I'm writing a program in C that allows the user to put in a series of letters and then searches through a text dictionary displaying all of the words that can be made with those letters. The problem is I can't find a comprehensive dictionary file! I know people must get these somehow because there are a lot of word games available.

    I already tried looking in /usr/share/dict on my linux box, but that one still wasn't big enough and also has a lot of proper names in it.

    Does anyone know where I can find a good list?

  2. #2
    Registered User
    Join Date
    Oct 2008
    Posts
    98
    I'm just gonna leave a simple: Google is your friend! here Found in about 10 seconds:

    http://www.translatum.gr/dictionarie...ad-english.htm

    What's particularly amusing is you somehow found this forum (googled??), signed up, made a post but couldn't bother to google "dictionary file" ?

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    If you just want a simple text file of 80000+ english words on a single line and haven't been able to find one yet, you can start pleading and I might send to you...
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  4. #4
    Registered User
    Join Date
    Mar 2009
    Location
    Louisville, KY
    Posts
    3
    Quote Originally Posted by Sparrowhawk View Post
    I'm just gonna leave a simple: Google is your friend! here Found in about 10 seconds:

    http://www.translatum.gr/dictionarie...ad-english.htm

    What's particularly amusing is you somehow found this forum (googled??), signed up, made a post but couldn't bother to google "dictionary file" ?
    I did google it and found a lot of dead links and dictionary files that weren't very good. I really don't understand why people on message boards are so quick to jump all over someone. And btw, the page you sent me to is one that I've already found. The link doesn't work. Thanks anyway.

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by joebedan View Post
    I did google it and found a lot of dead links and dictionary files that weren't very good. I really don't understand why people on message boards are so quick to jump all over someone. And btw, the page you sent me to is one that I've already found. The link doesn't work. Thanks anyway.
    Don't get upset! I really do have a perfect one, altho I can't remember where it was found...so calm down, wait a few minutes, and come back -- by then I'll have switched drives and found somewhere to post it
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  6. #6
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    It won't fit within the boudaries here unless I zip it, but I have to call it a .txt file anyway (so unzip it, it's not really text).

    Also, if you are using windows it has unix linefeeds (no \r). But you are a C programmer and can deal with that -- I think notepad or something can convert it.

    I love it tho and you will too
    Code:
    wily
    wimble
    wimbled
    wimbles
    wimbling
    wimp
    wimpier
    wimpiest
    wimpish
    wimple
    wimpled
    wimples
    wimpling
    !?Hey where's the attachment...
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  7. #7
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    silly silly me

    ps. you may not want to actually count on this for legitimate "spell checking", i believe it was probably written for programming experiments...but I could be wrong..."wimble", "wimple" and "wimpling" all turn out to be real words...
    Last edited by MK27; 03-12-2009 at 08:19 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  8. #8
    Registered User
    Join Date
    Mar 2009
    Location
    Louisville, KY
    Posts
    3

    Awesome!

    Thanks MK27! That worked great and was already in the format I needed. My other dictionary only had like 45,000 words so this one is almost double.

  9. #9
    Officially An Architect brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,396
    Quote Originally Posted by MK27 View Post
    It won't fit within the boudaries here unless I zip it, but I have to call it a .txt file anyway (so unzip it, it's not really text).
    For future reference, I'm always willing to host stuff for Cboard members, provided it conforms to the rules of the forum.
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  10. #10
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Thanks for sharing the dictionary, MK27!

    For the peoples who don't know how to unzip it, just change the name to dictionary.zip, then unzip it.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  2. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  3. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM

Tags for this Thread