Top.Mail.Ru
? ?
Javascript's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Monday, September 18th, 2006

Time Event
8:13a
Anyone know of a JavaScript English dictionary? I got an idea for a word game I want to make.

You know, I figured this would be easy to find but it's not. It looks like there's some JS object called Dictionary which functions like a hashmap sort of thing and that's all I get from a quick search on google.

As long as I'm posting, what would be the best way to use this? Basically, I'd only need to look up one word at a time to verify that it is actually a word. I was thinking at first of having 26 arrays, one for words starting with each letter, and then going through the appropriate array, but after reading about the Dictionary object it occurred to me that a hash table or something similar would be perfect.

<< Previous Day 2006/09/18
[Calendar]
Next Day >>
About LiveJournal.com
Image