Ar_home_b_search
 

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!

 
Post is included in group: Club Chaos

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

JUN
27
2008
170,639 Points 1 Featured Post

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

5:37pm • #2
160,513 Points 8 Featured Posts Outside Blog

Too much information....;) LOL!

7:19pm • #3
180,753 Points 8 Featured Posts Localism Sponsor Hit Router Called Shot Master

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. :)

7:37pm • #4
503,766 Points 36 Featured Posts Localism Sponsor Outside Blog Hit Router

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!

10:37pm • #5
JUN
28
2008
557,279 Points 38 Featured Posts Localism Sponsor Outside Blog Attended Rain Camp Called Shot Master

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!

2:18pm • #6
179,309 Points 9 Featured Posts Outside Blog

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

Welcome to the group!

8:11pm • #7
179,456 Points 5 Featured Posts Outside Blog Called Shot Master

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

11:29pm • #8
JUN
29
2008
189,235 Points 45 Featured Posts

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

8:01pm • #9
115,184 Points 4 Featured Posts Localism Sponsor Attended Rain Camp Called Shot Master

What-EVER!

Thank you, you most righteous dude.

9:52pm • #10
JUL
01
2008
139,779 Points 3 Featured Posts Localism Sponsor Outside Blog

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

9:23am • #11
JUL
04
2008

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

7:52pm • #13
AUG
11
2009
Good afternoon. There is no nonsense so errant that it cannot be made the creed of the vast majority by adequate governmental action. I am from Scotland and also now'm speaking English, give true I wrote the following sentence: "Our petite wall and alarm clocks offer classic." Thank ;-) Kersen.
Kersen
7:58am • #15

What does the graphic say?

Leave a response…



(optional)
What does the graphic say?
 


Links

Archives

RSS 2.0 Feed for this blog

Find WA real estate agents and Seattle real estate on ActiveRain.