Department of Energy Argonne National Laboratory Office of Science NEWTON's Homepage NEWTON's Homepage
NEWTON, Ask A Scientist!
NEWTON Home Page NEWTON Teachers Visit Our Archives Ask A Question How To Ask A Question Question of the Week Our Expert Scientists Volunteer at NEWTON! Frequently Asked Questions Referencing NEWTON About NEWTON About Ask A Scientist Education At Argonne How Does Spell Check Work?

Name: Larry
Status: educator
Grade: 9-12
Location: Outside U.S.
Country: USA
Date: Fall 2011

How does spellcheck work?

Hi Larry,

Spell check works much like how one uses a dictionary, where the computer (you) uses what is called a database of words (dictionary) and searches through letter by letter and does a compare.

This database can be extended to include synonyms, antonyms, and grammatical examples of various contexts to include nouns, verbs and adjectives.

It is the database that is key to bringing the knowledge to the computer on how spell checking is performed.

-Alex Viray


Spell check is just another computer program that Reads in the first, or next word in a text and compares its letter sequence to a dictionary, which may be a big data base. Unfortunately, spell checkers can't read the context of the messages and may confuse words with double spellings, like "role" and "roll", "their" and "there" etc., etc.

Some spell checkers use rule based processing to check grammar. This is a type of Artificial Intelligence programming that has kind of hit a wall as far as researching advancement.

Sincere regards, Mike Stewart

Click here to return to the Computer Science Archives

NEWTON is an electronic community for Science, Math, and Computer Science K-12 Educators, sponsored and operated by Argonne National Laboratory's Educational Programs, Andrew Skipor, Ph.D., Head of Educational Programs.

For assistance with NEWTON contact a System Operator (, or at Argonne's Educational Programs

Educational Programs
Building 360
9700 S. Cass Ave.
Argonne, Illinois
60439-4845, USA
Update: June 2012
Weclome To Newton

Argonne National Laboratory