gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > Want to make a Dictonarie. Where to get word lists?

#93319 - Edelnutte - Tue Jul 18, 2006 4:32 pm

Hello I wanted to start making a dictonary for the DS but I can''t find something like an easy to copy word database (I prefer English and German but you can come up with other Languages if the letters aren't difficult and the database is easy to copy)

So I would appreciate any help^^

#93335 - tssf - Tue Jul 18, 2006 6:32 pm

You could always use the wifi libs and make a simple html parser, then you can make a "dictionary" that searches www.dictionary.com and display the results on your DS' screen. It won't be local, but hey, it's the next best thing.
_________________
Mathew Valente [TSSF]
------
Chrono Resurrection Musician

#93337 - D-loader - Tue Jul 18, 2006 6:38 pm

Well, it would keep it updated for sure. If you decide to go for that solution, you might want to add the Wikipedia, as an extra option ^^

#93343 - Edelnutte - Tue Jul 18, 2006 7:05 pm

Thanks for the replys
unfortunately I have no Idea of how to use the DS wifi functions since I couldn't find any "tutorial" or something and also I think I would prefer it local like you said

#93349 - arog - Tue Jul 18, 2006 7:23 pm

A simple Google search should take care of you...

http://www.outpost9.com/files/WordLists.html
http://wordlist.sourceforge.net/


- Aaron Rogers
http://www.aaronrogers.com/nintendods/

#93902 - Edelnutte - Fri Jul 21, 2006 10:06 pm

@arog: I was looking for a list with English words and their German translation but thanks anyway.

So i finally found a list with German words and their English translation and every word got its own line and looks like this:
Quote:

Bl?mchen {n} | Bl?mchen {pl} :: floret | florets



I thought about converting every line into a Map so it would look something like this with the lettters assigned to the Tilenumber of course:

Code:

word1[]= {B,l,?,m,c,h,e,n, ,{,n,}, ,|, ,B,l,?,m,c,h,e,n, ,{,p,l,}, ,:,:, ,f,l,o,r,e,t, ,|, ,f,l,o,r,e,t,s }


But I have 2 problems:
I dont't know how I can automize the process for making a map of every line

If i would search for the word i think I'd have to do it with a for loop and it would take long. I thought about seperating the words from the beginning letter but some have prefixes.

Any suggestions?^^

#93930 - HyperHacker - Sat Jul 22, 2006 12:37 am

Store the word list in a file and compress it. If your word list is hardcoded, that introduces some potential problems:
-Word list plus program size can't be >4MB.
-Can't update the word list except by recompiling the program.
_________________
I'm a PSP hacker now, but I still <3 DS.

#94163 - derula - Sun Jul 23, 2006 1:56 pm

I would make the word list more compact first, like

Code:
[n,n]Bl?mchen|Bl?mchen:floret|florets


(n,n standing for noun,neutral (das Bl?mchen), if not identified in another way)
not because of file size, it would't be so much of a difference after compression, but the above list might be easier to parse at run-time.
_________________
visit my blog. please.