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

Comments

  • Anonymous
    February 15, 2008
    PingBack from http://wikipedia.toblogornottoblog.info/?p=7079

  • Anonymous
    February 22, 2008
    Perhaps a per-document setting for formal vs. informal?

  • Anonymous
    February 23, 2008
    "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.

  • Anonymous
    March 01, 2008
    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

  • Anonymous
    March 31, 2008
    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".

  • Anonymous
    March 31, 2008
    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.

  • Anonymous
    March 31, 2008
    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."

  • Anonymous
    March 31, 2008
    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!

  • Anonymous
    March 31, 2008
    The comment has been removed

  • Anonymous
    April 05, 2008
    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.

  • Anonymous
    April 11, 2008
    The comment has been removed

  • Anonymous
    July 22, 2010
    I can see what you are saying as no it is not a word you would normally use in formal writing. However when you pair it with wanna and gonna, it is like comparing apples to oranges as ain't was actually made an official word and wanna or gonna was not! If you go to www.merriam-webster.com as we all know the Webster dictionary is the most common and probably the most correct dictionary, and search the 3 words, you will discover that wanna and gonna do not exist in the dictionary! However if you in turn  search for ain't you will find that it does exist!

  • Anonymous
    November 11, 2014
    There are some of us who are quite literate but extremely spelling dysfunctional.  If you MUST insist on censoring me, I would prefer to have you do so under the grammatical warning instead of the spelling warning.  I really hate going out to Google to check the spelling of a word you have decided that is an improper word.  Well, now I know why.  The Censor has arrived!  (I thought it was just a poor product, not deliberate!)