Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I'm building a word game and I need a freeware/shareware word list of every single word in the english language. Does anyone know of any? I can break it apart if need be, the important thing is that it incldue virtually all words in the english language. I've found several, but none seem to actually contain every single word.

Replies are listed 'Best First'.
Re: word list
by sm3g (Hermit) on Aug 01, 2002 at 20:18 UTC
    There are several word lists at the National Puzzlers' League website.
    They have the official Scrabble players dictionary list, which seems to be popular, and the "Moby" list which has 354,984 entries. That has to be enough words.
    Hope that helps.

    sm3g
    perl -le 's;;uoli;;$a=length;y;g-w;e-u;;;$a--;s;j;$a;;print'
Re: word list
by grinder (Bishop) on Aug 01, 2002 at 21:51 UTC
    Another possibility worth investigating is Grady Ward's Moby Project, which is all public domain material.
    • Moby Hyphenator - 185,000 entries fully hyphenated
    • Moby Language - Word lists in five of the world's great languages (for some definition of great, I guess)
    • Moby Part-of-Speech - 230,000 entries fully described by part(s) of speech, listed in priority order
    • Moby Pronunciator - 175,000 entries fully International Phonetic Alphabet coded
    • Moby Shakespeare - The complete unabridged works of Shakespeare
    • Moby Thesaurus - 30,000 root words, 2.5 million synonyms and related words
    • Moby Words - 610,000+ words and phrases. The largest word list in the world

    There's all sorts of different files to play with. A Perl hacker's playground :) I once wrote a script based on the pronounciation file to pick out rhyming words for an online game.

    As for "every single word in the English language", that's rather hard to pin down. First to find them all, and then to agree on them. Should "yclept" be included? "blog"? "favour" versus "favor"?... but don't let that stop you from having fun.


    print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'
      As for "every single word in the English language", that's rather hard to pin down.

      On the contrary, I think it's a very cromulent project.
      --

      ($_='jjjuuusssttt annootthheer pppeeerrrlll haaaccckkeer')=~y/a-z//s;print;
Re: word list
by BrowserUk (Patriarch) on Aug 01, 2002 at 21:39 UTC
Re: word list
by Cine (Friar) on Aug 01, 2002 at 21:30 UTC
    apt-get install wenglish wbritish

    T I M T O W T D I