OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Opie-wordgame...where Is The Wordlist?
bkudria
post Apr 19 2005, 04:11 AM
Post #1





Group: Members
Posts: 66
Joined: 29-October 04
Member No.: 5,269



I've read here that opie-wordgame uses a DAWG format for it's wordlist, and I want to use an official scrabble one...but, i have no idea where opie-wordgame keeps it's wordlist. I've been adding words to it my self while playing, but this isn't nearly as much fun. thanks!
Go to the top of the page
 
+Quote Post
melee
post Apr 19 2005, 10:19 AM
Post #2





Group: Members
Posts: 69
Joined: 17-March 05
Member No.: 6,651



QUOTE(bkudria @ Apr 19 2005, 01:11 PM)
I've read here that opie-wordgame uses a DAWG format for it's wordlist, and I want to use an official scrabble one...but, i have no idea where opie-wordgame keeps it's wordlist.  I've been adding words to it my self while playing, but this isn't nearly as much fun.  thanks!
*


/home/QtPalmtop/etc/dict/dawg

It may be a symlink if you have installed to SD or CF card

regards

Melee
Go to the top of the page
 
+Quote Post
bkudria
post Apr 19 2005, 01:26 PM
Post #3





Group: Members
Posts: 66
Joined: 29-October 04
Member No.: 5,269



Hmm, I don't even have a /home/QtPalmtop/etc/ directory...if I download a dawg file, rename it to 'dawg', and place it in /home/QtPalmtop/etc/dict/, it will work? I mean, the name of the file should be 'dawg', right?

Thanks for the help!
Go to the top of the page
 
+Quote Post
zenyatta
post Apr 20 2005, 12:54 AM
Post #4





Group: Members
Posts: 366
Joined: 4-November 03
From: Slovakia
Member No.: 850



There was a discussion of this a while ago, my findings are summarized in one of the posts. The instructions refer to Opie's standard dictionary file, you obviously need to modify things if you want an official dictionary, or if you are running Opie on top of something else than OpenZaurus.

Hope this helps,
z.
Go to the top of the page
 
+Quote Post
bkudria
post Apr 20 2005, 04:03 AM
Post #5





Group: Members
Posts: 66
Joined: 29-October 04
Member No.: 5,269



It seems like I'm almost there. sad.gif I downloaded an official scrabble dictionary, renamed it to 'words', and put it in /home/QtPalmtop/etc/dict ... but opie-dict didn't try to process this file at all (maybe because it is 2.8 megabytes...is this too big?), it just started up with and empty dictionary. I also tried putting a plaintext 'words' in '/root/Applications/Dictionary/', as well as trying to compile my own dawg file and copying the result into '/root/Applications/Dictionary/WordGame.dawg'...since there was a file there earlier which seemed to be a generated dictionary based on what I told opie-wordgame before. Neither of these attempts worked, I have no idea why. Help!
Go to the top of the page
 
+Quote Post
melee
post Apr 20 2005, 07:14 AM
Post #6





Group: Members
Posts: 69
Joined: 17-March 05
Member No.: 6,651



Hi again,

I looked at the wordgame code and it only makes 3 calls to QDawg and all of them are to the static function which returns the root node of the dawg file set by the locale. So it doesn't covert words lists to dawg files - not in my copy anyway.

I have taken pity on your plight, written a quick commandline app which calls QDawg to convert a words list to a dawg file, and then run the Official Scrabble Players Dictionary word list through it.

The result is on my website in a tarball for you to download { Here }

Unpack the tarball and rename ospd_dawg to dawg

Go into your Zaurus to where your current dawg file is and rename it dawg_old

Copy the new dawg file to that location

Run wordgame and enter a word and check it to check dawg is being searched

Tested on my C860 just now and works fine

If you want a copy of wordgame which displays fullscreen in portrait mode on a 480x640 VGA screen, my conversion of wordgame which does just that is available for download { Here }

Dont forget if you install my conversion of qpe-wordgame,it will install the original dawg file overwriting the ospd version and you need to install that again!!!!

regards

Melee
Go to the top of the page
 
+Quote Post
bkudria
post Apr 20 2005, 06:23 PM
Post #7





Group: Members
Posts: 66
Joined: 29-October 04
Member No.: 5,269



Woot! That worked, I copied the file to /root/Applications/Dictionary/WordGame.dawg and it worked. Is there a reason this can't be included in a opie-wordgame-dict package, or something? If the OSPD list is non-free, I know the YAWL list is free. Again, big thanks, melee!
Go to the top of the page
 
+Quote Post
melee
post Apr 21 2005, 02:00 AM
Post #8





Group: Members
Posts: 69
Joined: 17-March 05
Member No.: 6,651



QUOTE(bkudria @ Apr 21 2005, 03:23 AM)
Woot!  That worked, I copied the file to /root/Applications/Dictionary/WordGame.dawg and it worked.  Is there a reason this can't be included in a opie-wordgame-dict package, or something?  If the OSPD list is non-free, I know the YAWL list is free.  Again, big thanks, melee!
*


Glad I could help.

You haven't said exactly what Z and which ROM you are running on, the directory structure appears to differ quite a bit from my Sharp ROM.

I got the word list from http://www.puzzlers.org//wordlists/dictinfo.php which has several excellent lists.

The original scrabble dictionary is Chambers I expect, which is copyright, but the list has no restrictions published with it.

I am in the process of trying to write a crossword solving app using dawg lookups, hence my knowledge / interest in dawg and wordlists at present.

cheers

Melee
Go to the top of the page
 
+Quote Post
Hrw
post Apr 21 2005, 10:56 PM
Post #9





Group: Members
Posts: 1,376
Joined: 11-January 04
From: Poznań, Poland
Member No.: 1,413



look in opie-dict-* packages for wordlists.

and they probably need to be in /opt/QtPalmtop/etc/
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st September 2014 - 08:16 PM