ReadWriteWeb

Definr: A Very Fast Dictionary Tool

Written by Josh Catone / November 30, 2007 12:41 PM / 6 Comments

When Definr calls itself an "incredibly fast dictionary," they're not kidding. Definr is a single page, simple-as-possible dictionary lookup tool that delivers results to queries almost instantly (without reloading the page) and suggests words as you type. According to the site, the average lookup time is 14ms and even stayed fast when it was slammed by Digg traffic last weekend. And their server status page said that while I was on the site just now, the average lookup time was under 1ms -- now that's fast.

The Ruby on Rails-powered site works by caching at least 10,000 definitions in memory (as I write this, that number stands at about 25,000 -- it fluctuates based on load), so that results are delivered nearly instantly. The word completion algorithm, meanwhile, searches about 200,000 words. So to keep that speedy, Definr uses a C module written for Ruby and runs it on its own server. The result, once the Ruby layer is factored in, is that Definr can do 10,000 completions per second without catching its breath.

The site also keeps a list of the top 50 words search on the site -- which for some reason is "weapon" right now. And they offer a Firefox search engine extension.

So why use Definr over more established dictionary sites like Dictionary.com or Merriam Webster? To be honest, you might not. Definr's speed, though impressive, is really more of a gimmick than anything else, and their Firefox search option doesn't work any faster than the Dictionary.com one I already have installed -- and their definitions, based on Princeton's WordNet 2.0, are more barebones. However, their blazing fast word completions do come in handy if you're using the dictionary to check the spelling of a word (which is something I do -- though in the age of spellcheck, I'm not sure how many people use that method).

Useful or not, though, Definr is worth checking out just to marvel at its speed.

Comments

Subscribe to comments for this post OR Subscribe to comments for all Read/WriteWeb posts

  • Thanks Josh, that is one fast dictionary. And I like the definitions, they just give the definition and don't clutter the page up with other oft useless information.

    Posted by: Paul M. Watson | November 30, 2007 2:39 PM


  • They've got a sense of humor, too - check the definition of "definr"

    Posted by: Paul Christiansen | November 30, 2007 7:14 PM


  • Tried it.
    Won't use it.

    Yes, it is fast.
    But, when I go to the dictionary, I want the OED. I can't have the Oxford English Dictionary without paying big bucks.

    I don't want just a single definition.
    I want everyting about the word

    Posted by: Dave Barnes | December 1, 2007 7:30 PM


  • good,i like it ,definr is a web2.0 dictionary

    Posted by: eggcakes | December 3, 2007 6:34 AM


  • Good that you mention the dictionary.com search plugin for firefox. I use that plugin often and I don't see how this could be more useful. Sure difinr is fast, but so is a static html page. It's not so difficult to make a dictionary lookup fast, especially when it's only in English.

    Posted by: Thijs | December 3, 2007 7:43 AM


  • Nice, but Ninjawords has a cooler name.

    http://ninjawords.com/

    Posted by: Knut | December 11, 2007 3:58 AM




RECENT JOBS


RWW READERS


TEXT LINK ADS


RWW PARTNERS

adaptiveblue

Yahoo Buzz