Special offer

There and back again… a tale of spellcheck more than 3 words long

By
Services for Real Estate Pros

Thanks for the warm welcome. I feel like singing in the rain. (Love puns!)

On the surface, spellcheck seems like a pretty easy problem to solve. You take some text, split it into words, then check each word against the dictionary. Fantastically easy. They shouldn't pay me for this stuff. But computers delight in twisting seemingly simple problems into complex nightmares.

Fun fact: Splitting text into actual words requires roughly 50 rules. Consider punctuation: we have to remove certain marks (periods, exclamation points) but leave others intact (apostrophe). HTML tags also need to be removed while keeping the content safe. Does anyone want my job yet?

In order to keep our servers from melting under the strain of hundreds of simultaneous spellcheck requests, we let the client (that's you!) split the text into words and send that list to the ActiveRain servers. It's a funny thing: web-browsers have wildly diverging ideas about spaces. When you press the spacebar in one browser, it might insert an actual "space" character. Another inserts a Unicode character. Of course, they look exactly the same. Only a petulant computer knows the difference and complains bitterly about it. That's one half of the "AJAX error" story.

The other half of this mystery theater is more embarrassing. The library responsible for parsing the list of words on our servers was out of date. In certain, special conditions (mostly involving apostrophes and quotes), the spellchecker simply gave up. That's one demerit for the naughty server.

My goal is to make ActiveRain work like magic, but I know there are those among you that revel in the occasional peek behind the curtains.

Hope you enjoyed this shocking exposé – stay tuned for more!

Bob Stewart
ActiveRain - Seattle, WA
ActiveRain Ambassador

I love it!! haha!!

Jun 27, 2008 09:03 AM
Doreen McPherson
Homesmart ~ Scottsdale ~ Tempe - Tempe, AZ
Phoenix Arizona Real Estate ~

No comments.  You must have made everyone speechless.  LOL!

Jun 27, 2008 10:37 AM
Suzanne Sands
Pavao Real Estate - Somerset, MA
Somerset MA Real Estate

Too much information....;) LOL!

Jun 27, 2008 12:19 PM
Michelle DeRepentigny
Success Realty - Athens, GA
Broker Athens, GA

The peek is fascinating, I really never thought about how involved a spell check program was...and now I'll think of you every time I click that cute little icon. :)

Jun 27, 2008 12:37 PM
Lizette Fitzpatrick
Lizette Realty - Richmond KY - Lexington, KY
Lizette Realty, Lexington KY MLS - Kentucky Homes

Loved the happy ending! You are everyone's hero and my 100th associate! I'm thrilled I have two reasons to celebrate. This milestone will be hard for you to top. Have a fantastic weekend!

Jun 27, 2008 03:37 PM
C Tann-Starr
Tann Starr & Associates, Inc. - Palm Bay, FL

Hey Lizette -- I second the motion! Hey Jorgen -- welcome to Club Chaos! Please post this so we can feature it and celebrate the fact that YOU FIXED THE BLOODY SPELL CHECK!!! Way too cool!

Jun 28, 2008 07:18 AM
Kathy Passarette
Creative Home Expressions - Mount Sinai, NY
L.I. Staging/Decorating

Yes, thanks Jorgen, that was, um, very, uh, interesting, yeah that's it, interesting! ; )

Welcome to the group!

Jun 28, 2008 01:11 PM
Debbie DiFonzo
Debbie DiFonzo - United Country VIP Realty, SW Missouri - Lebanon, MO
Lebanon MO and Buffalo Missouri Real Estate

Jorgen, you are my hero! I need love spell check and was more than frustrated with it's friskiness!

Jun 28, 2008 04:29 PM
Clint Miller
Real Estate Pipeline, Inc. - Missoula, MT

Jorgen -- Thanks for asking, but...No, I dont want your job!  LOL!

Jun 29, 2008 01:01 PM
Elaine Hanson
Coldwell Banker Realty - Malibu | Topanga - Malibu, CA
REALTOR - Topanga, CA Real Estate Agent

What-EVER!

Thank you, you most righteous dude.

Jun 29, 2008 02:52 PM
Cristal Drake
Prudential California Realty - Fullerton, CA
Realtor - Fullerton Real Estate

Hooray!  Thanks so much!  Now I don't have to do it all in "Word" first. 

Jul 01, 2008 02:23 AM
Becky Cook
EXIT Realty Services- New Paltz, NY - Highland, NY
Ulster County, NY- New Paltz, Highland, Marlboro, NY Real Estate

Who knew it was all so complicated!?!

Jul 01, 2008 04:44 AM
Veronica DeCarolis
Weidel Realtors - Flemington, NJ

So we just have to learn how to tipe correctly now. LOL.  Veronica

Jul 04, 2008 12:52 PM
C Tann-Starr
Tann Starr & Associates, Inc. - Palm Bay, FL

Haaaa! Good one!

Jul 04, 2008 01:53 PM