in reply to Re: using perl to find words for scrabble
in thread using perl to find words for scrabble
I'd like to replicate what has gone before and ride that horse as far as I can. The module installs fine, and I got the dictionary downloaded. Who would have guessed that it takes 1.83 megs to capture the english language in this way? Let me post a link to the very useful page that the dictionary came from: google code archive. the entry you're looking for is enable1.txt .
Then I try to follow the development on Games::Literati but don't seem to get anywhere on the invocation, and why would I, as right now, the command line has no connection to the dictionary?
C:\Users\tblaz\Documents\evelyn>perl -MGames::Literati=scrabble -e'scr +abble()' < t.txt C:\Users\tblaz\Documents\evelyn>type t.txt ............... ............... ............... .......c....... ......ai....... .......s.header .......t....r.. ...jurors..soup .......o....p.h .upsilon.f..pea .......speering .........s..n.e .........t..g.. .........e..... ........broils. yes 7,8 10,14 7,14 eurmsss C:\Users\tblaz\Documents\evelyn>
Meanwhile, I have an ordinary script as I know how to create them with the location of the dictionary as a script that does not receive reference:
C:\Users\tblaz\Documents\evelyn>type 1.game.pl #!/usr/bin/perl -w use 5.016; use Data::Dump; my $WordFile = 'C:\Users\tblaz\Documents\html_template_data\dict\enabl +e1.txt'; C:\Users\tblaz\Documents\evelyn>
How do I brook this gap?
Thanks all for comments,
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: using perl to find words for scrabble
by pryrt (Abbot) on Sep 07, 2019 at 18:08 UTC | |
by Aldebaran (Curate) on Sep 12, 2019 at 02:54 UTC | |
by pryrt (Abbot) on Sep 12, 2019 at 13:07 UTC |