Skip to content

Linux words file

3 messages · Erin Hodgess, Duncan Murdoch, (Ted Harding)

#
Dear R People:

I have a small function that solves the "Jumble" puzzle from the
newspaper (I know...big deal).  It uses the the Linux "words" file.

My question is:  is there a similar words file for Windows, please?

Thanks,
Happy New (Gnu) Year.
Sincerely,
Erin
#
On 03/01/2009 4:39 PM, Erin Hodgess wrote:
As far as I know Windows doesn't include its own, but if you have one in 
Linux, it's GPL'd, isn't it?  So it would be fine to use it on Windows, too.

Duncan Murdoch
#
On 03-Jan-09 21:39:55, Erin Hodgess wrote:
And the same to you!
I don't know whether you can easily find the same readymade
for Windows, but you could always make one from the Linux file,
since it is a plain text file.

I have it in /etc/dictionaries-common/words

You might need to DOSify it first (i.e. end lines with CRLF
instead of just LF), though I don't know how Windows reacts
to Unix text files these days. In that case (in Linux):

  cp /etc/dictionaries-common/words words.txt
  unix2dos words.txt

unix2dos is an old program which is not present on all Linux
distributions. Maybe you don't need it anyway, in which case
just do the 'cp' (to get the extension ".txt").

And are you going to share your R program?

Hoping this helps,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at manchester.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 03-Jan-09                                       Time: 22:30:06
------------------------------ XFMail ------------------------------