🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.anagrams
Article #2

Re: HELP! Need a Bigger Dictionary! (/usr/dict/words inadequate)

#2
From: Ron Mayer
Date: Mon, 18 Apr 1994 18:42
40 lines
1779 bytes
<Apr.13.08.03.05.1994.19485@math.rutgers.edu> lukeh@math.rutgers.edu (Luke Higgins):
>
>   I am trying to run a program to find anagrams for certain words and
>   need a bigger default dictionary than the one on my system (i.e.
>   /usr/dict/words.) [...] I would greatly appreciate an ftp site that has a
>   bigger "list" of words. 

If you don't care much about misspellings and a frew non-words; I've found the
following script useful.  Especially if you want a rather wierd dictionary
you can try something like:

%makedict /usr/spool/news/{alt.pyrotechnics,alt.sex.bondage,comp.unix.internals}/* > dict

-------------------------makedict---------------------------
#!/usr/local/bin/perl
#
# Splits text into things that look like words and creates a dictionary
# from them.  Based on something else I've seen posted here. (sorry,
# lost the original posting).
#
while (<>) {
    split;
    for (@_) {
        y/A-Z/a-z/;
        next if $w{$_};
        next if /[^a-z0-9_]/;
        next unless /^[a-z]./;
        $w{$_}++;
    }
}
for (sort keys %w) {
    print "$_\n";
}
-------------------------makedict---------------------------

Hope this helps...

    Ron Mayer
    mayer@orthanc.acuson.com
Technical Details
Message-ID: <MAYER.94Apr18104231@orthanc.sono.uucp>
Path: arc1-ca.pugleaf.net!wupost!cs.utexas.edu!swrinde!sgiblab!sono!orthanc!mayer
References: <Apr.13.08.03.05.1994.19485@math.rutgers.edu>

Show Full Headers
Complete Article Headers
Newsgroups: alt.anagrams,alt.sources
Path: arc1-ca.pugleaf.net!wupost!cs.utexas.edu!swrinde!sgiblab!sono!orthanc!mayer
From: mayer@sono.uucp (Ron Mayer)
Subject: Re: HELP! Need a Bigger Dictionary! (/usr/dict/words inadequate)
In-Reply-To: lukeh@math.rutgers.edu's message of 13 Apr 94 12: 03:06 GMT
Message-ID: <MAYER.94Apr18104231@orthanc.sono.uucp>
Sender: mayer@acuson.com (Ron Mayer)
Organization: Acuson; Mountain View, California
References: <Apr.13.08.03.05.1994.19485@math.rutgers.edu>
Date: Mon, 18 Apr 1994 18:42:31 GMT
Lines: 40