Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Google Suggest for dictionary

Hi guys,

I just finished implementing Google suggest for a dictionary database.

http://www.objectgraph.com/dictionary

The code is clean and you could see it by using "View Source"

The dictionary database is on an SQL server (total of 18000+ words) with an index on the word column.

Gavi Narra
Friday, December 24, 2004

Good job! Works great on Firefox 0.9.1 on Linux. Pretty responsive - though I wonder how fast it could bring your server down if it was posted on /. :)

Cory

Cory Foy (cornetdesign.com)
Friday, December 24, 2004

yea, I would really want to post this on slashdot.  Maybe the best approach would be to write a custom webserver and put all the words in memory and implement a search tree.

Gavi Narra
Friday, December 24, 2004

You might want to hold off on the /. idea ;) unless you got the machine to handle it.

Li-fan chen
Saturday, December 25, 2004

Now the website includes "how does it work?" section. Read about it here

http://www.objectgraph.com/dictionary/how.html

Please give me suggestions for improvement

Gavi Narra
Sunday, December 26, 2004

Kudos, that works pretty well.

There's only so much one can do with these but I think the most obvious improvement would be a scrollable result list.  I'm not sure if a scrollbar is practical but back/forward buttons may be.

Doug
Friday, December 31, 2004

*  Recent Topics

*  Fog Creek Home