Welcome to MSDN Blogs Sign in | Join | Help

Spellchecking ain't easy

A customer wrote to us recently with the observation that our English spellchecker doesn’t recognize the word ain’t, a fact which struck this customer as a tad, well, old-fashioned.  Pedantic, perhaps.  The words “uptight” and “shortsighted” might have been used.  Yikes!  I’ve been accused of a lot of things, but…

 

First, let’s admit that this is not a mistake.  Yes, we deliberately excluded ain’t.  You can tell, because we made sure to get just the right set of words to suggest in its place (isn’t, am not, aren’t) despite these words being pretty far away from ain’t in edit distance.  You could say the same about gonna and wanna, which are also excluded, but for which we suggest going to and want to, respectively.

 

This is one of those tough calls we encounter when building a spellchecker.  As a linguist, I have no inherent objection to the word “ain’t” on any moral, intellectual, or even aesthetic grounds.  It’s a part of my own spoken idiolect, and I tend to use it unselfconsciously in informal contexts.  Ain’t no reason not to, usually.  But clearly, it is still universally regarded as nonstandard, and people naturally want to avoid using it in formal writing.  That goes for me, too--I doubt I’d want to use it when writing to the boss, even when the boss is a pretty informal kind of guy (Hi Bill!).  So from that point of view, flagging this word as an error is a good thing for customers, a lot of whom are using MS Office at work.

 

On the other hand, people also have lots of reasons to want to write ain’t--to be deliberately jocular, say, or to sound folksy, or just because it’s natural.  Or because they’re a Jane Austen character.  And in those cases, they’d prefer to spell it right--there’s only one correct way to spell ain’t, after all, and your fingers can stumble on it just as easily as any other word.  By not recognizing ain’t, we sure ain’t helping folks in those situations.  And that goes for gonna and wanna, too.

 

So what do you think?  Should there be a red squiggle under ain’t, or not?

 

-- James Lyle, Tester

Published Friday, February 15, 2008 9:15 PM by nlgblog
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

Friday, February 15, 2008 5:22 PM by Wikipedia » Spellchecking ain’t easy

# Wikipedia » Spellchecking ain’t easy

Saturday, February 23, 2008 5:38 AM by Charles

# re: Spellchecking ain't easy

Perhaps a per-document setting for formal vs. informal?

Saturday, February 23, 2008 10:22 PM by Patrick

# re: Spellchecking ain't easy

"ain't" is not a spelling misstake. The word, as informal as it is, is spelled correctly. "ain't" can be a grammatical error, though. It should be flagged as a grammar misstake of "informal" and the user can then ignore it once, or permanently ignore it.

I suppose you could argue what sort of grammatical misstake it is... but it definitely ain't no spelling misstake.

Saturday, March 01, 2008 3:59 PM by Sophie

# re: Spellchecking ain't easy

I agree with you, you're a linguist, so you don't have to give any prescriptive information. And we musn't forget what Henri Frei wrote "Les fautes d'aujourd'hui sont le français de demain" ("the mistakes of today are the french of tomorrow"), which is also available for english !

Nevertheless, you could maybe add a linguistic indication such as "familiar".

Best,

Sophie

Monday, March 31, 2008 11:30 AM by Maurits

# re: Spellchecking ain't easy

Actually, could you remove "manger"?  It's only ever appropriate after "away in a", and there are countless job openings out there advertised for a "Senior Manger".

Monday, March 31, 2008 12:42 PM by Stephen Jones

# re: Spellchecking ain't easy

How on earth can you mark a perfectly correct word as a spelling mistake or typo. If you wish to mark it as a mistake in linguistic register so be it(presuming Word's inbuilt grammar has such a distinction; I turn it off so I wouldn't know).

If people want a nanny they can advertise for one on Craig's List. MS Word is advertised as a Word Processor, which is not the same thing.

Monday, March 31, 2008 1:57 PM by SM

# re: Spellchecking ain't easy

Good article.  I would think a green "grammar checking" squiggle would be more appropriate than a red "spell checking" squiggle.

But on the other hand, I'm not sure I understand the complaints. If someone objects to the omission, they can just as easily click "add to dictionary."

Monday, March 31, 2008 2:46 PM by Simon

# re: Spellchecking ain't easy

I'm going to have to disagree with most of the comments so far, and opt for keeping it a spelling mistake.  It's much easier to add it to the dictionary (it's on the right click menu) if you do use it, than it is to remove it if you don't!

Monday, March 31, 2008 3:28 PM by Icarus Soaring

# re: Spellchecking ain't easy

I'm mildly surprised that someone complained about the state of things.  As a writer, I enjoy pushing the boundaries of how language is used, and that includes judicious use of the notoriously formally incorrect “ain't”.  

When the spell helper flag's ain't, I simply look at it and think, "Yes, I know that's not officially a 'real' word, even though everyone knows what it means; but if I'm using it, I have my reasons."  

For me, the red-squiggle can be taken as a note-to-self that I'm playing a bit out of bounds, which happens frequently when I 'customize' or 'extend' words, or if I am writing in a realm that is particularly jargon (which is usually).  'Jargony' is not a real word either, but I am not angry with the spell helper for flagging it for me, even though I know pretty much everyone will understand it.  

So, I happen to find the reminder welcome, not troublesome.  If a red-squiggle under "ain't" or "jargony" or whatever really bothers me that much, right-click -> “Add to dictionary” will sufficiently re-orient my world.

Good fortune,

- Icarus can’t spell…

Saturday, April 05, 2008 9:23 PM by John

# re: Spellchecking ain't easy

If your excluding ain’t on the basis that you are assuming we only write formal letters, perhaps you should bring back clippy. "I see you've used the word ain't, would you like some help writing an informal letter to your boss?

Presumptions are never a good idea.

Friday, April 11, 2008 9:54 AM by Cameron

# re: Spellchecking ain't easy

Perhaps this calls for the addition of a new type of squiggly underline. A orangy-yellow "style" underline. Keep spellchecker to identify misspelled words, grammar checker to identify invalid grammar, and include a new style checker that looks for slang, informal style, etc.

That way, you could have a context menu or button for "Writing style" that you could switch to formal, friendly, narrative, etc. (or create custom writing styles).

There are many cases where it'd be handy if the word processor could catch you out on informal style when writing formal letters, for example using first person rather than third person.

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker