请输入您要查询的百科知识:

 

词条 Spell checker
释义

  1. Design

  2. History

  3. Functionality

  4. Spell-checking non-English languages

  5. Context-sensitive spell checkers

  6. Criticism

  7. See also

  8. References

  9. External links

In software, a spell checker (or spell check) is a software feature that checks for misspellings in a text. Features are often in software, such as a word processor, email client, electronic dictionary, or search engine.

{{image frame
| width = 252
| content =

Eye have a spelling chequer,

It came with my Pea Sea.

It plane lee marks four my revue

Miss Steaks I can knot sea.

Eye strike the quays and type a whirred

And weight four it two say

Weather eye am write oar wrong

It tells me straight a weigh.

Eye ran this poem threw it,

Your shore real glad two no.

Its vary polished in its weigh.

My chequer tolled me sew.

A chequer is a bless thing,

It freeze yew lodes of thyme.

It helps me right all stiles of righting,

And aides me when eye rime.

Each frays come posed up on my screen

Eye trussed too bee a joule.

The chequer pours o'er every word

Two cheque sum spelling rule.


|caption =

The original version of this poem was written by Jerrold H. Zar in 1992. An unsophisticated spell checker will find little or no fault with this poem because it checks words in isolation. A more sophisticated spell checker will make use of a language model to consider the context in which a word occurs.


}}

Design

A basic spell checker carries out the following processes:

  • It scans the text and extracts the words contained in it.
  • It then compares each word with a known list of correctly spelled words (i.e. a dictionary). This might contain just a list of words, or it might also contain additional information, such as hyphenation points or lexical and grammatical attributes.
  • An additional step is a language-dependent algorithm for handling morphology. Even for a lightly inflected language like English, the spell-checker will need to consider different forms of the same word, such as plurals, verbal forms, contractions, and possessives. For many other languages, such as those featuring agglutination and more complex declension and conjugation, this part of the process is more complicated.

It is unclear whether morphological analysis—allowing for many different forms of a word depending on its grammatical role—provides a significant benefit for English, though its benefits for highly synthetic languages such as German, Hungarian or Turkish are clear.

As an adjunct to these components, the program's user interface will allow users to approve or reject replacements and modify the program's operation.

An alternative type of spell checker uses solely statistical information, such as n-grams, to recognize errors instead of correctly-spelled words. This approach usually requires a lot of effort to obtain sufficient statistical information. Key advantages include needing less runtime storage and the ability to correct errors in words that are not included in a dictionary.[1]

In some cases spell checkers use a fixed list of misspellings and suggestions for those misspellings; this less flexible approach is often used in paper-based correction methods, such as the see also entries of encyclopedias.

Clustering algorithms have also been used for spell checking[2] combined with phonetic information.[3]

History

{{refimprove|section|date=January 2019}}

In 1961, Les Earnest, who headed the research on this budding technology, saw it necessary to include the first spell checker that accessed a list of 10,000 acceptable words.[4] Ralph Gorin, a graduate student under Earnest at the time, created the first true spelling checker program written as an applications program (rather than research) for general English text: SPELL for the DEC PDP-10 at Stanford University's Artificial Intelligence Laboratory, in February 1971.[5] Gorin wrote SPELL in assembly language, for faster action; he made the first spelling corrector by searching the word list for plausible correct spellings that differ by a single letter or adjacent letter transpositions and presenting them to the user. Gorin made SPELL publicly accessible, as was done with most SAIL (Stanford Artificial Intelligence Laboratory) programs, and it soon spread around the world via the new ARPAnet, about ten years before personal computers came into general use.[6] SPELL, its algorithms and data structures inspired the Unix ispell program.

The first spell checkers were widely available on mainframe computers in the late 1970s. A group of six linguists from Georgetown University developed the first spell-check system for the IBM corporation.[7] Henry Kučera invented one for the VAX machines of Digital Equipment Corp in 1981.[8]

The first spell checkers for personal computers appeared in 1980, such as "WordCheck" for Commodore systems which was released in late 1980 in time for advertisements to go to print in January 1981.[9] Developers such as Maria Mariani[7] and Random House[10] rushed OEM packages or end-user products into the rapidly expanding software market, primarily for the PC but also for Apple Macintosh, VAX, and Unix.{{cn|date=January 2019}} On the PCs, these spell checkers were standalone programs, many of which could be run in TSR mode from within word-processing packages on PCs with sufficient memory.

However, the market for standalone packages was short-lived, as by the mid-1980s developers of popular word-processing packages like WordStar and WordPerfect had incorporated spell checkers in their packages, mostly licensed from the above companies, who quickly expanded support from just English to European and eventually even Asian languages. However, this required increasing sophistication in the morphology routines of the software, particularly with regard to heavily-agglutinative languages like Hungarian and Finnish. Although the size of the word-processing market in a country like Iceland might not have justified the investment of implementing a spell checker, companies like WordPerfect nonetheless strove to localize their software for as many national markets as possible as part of their global marketing strategy.

Firefox 2.0, a web browser, has spell check support for user-written content, such as when editing Wikitext, writing on many webmail sites, blogs, and social networking websites. The web browsers Google Chrome, Konqueror, and Opera, the email client Kmail and the instant messaging client Pidgin also offer spell checking support, transparently using previously GNU Aspell and currently Hunspell as their engine. Mac OS X now has spell check system-wide, extending the service to virtually all bundled and third party applications.

Some spell checkers have separate support for medical dictionaries to help prevent medical errors.[11][12][13]

Functionality

The first spell checkers were "verifiers" instead of "correctors." They offered no suggestions for incorrectly spelled words. This was helpful for typos but it was not so helpful for logical or phonetic errors. The challenge the developers faced was the difficulty in offering useful suggestions for misspelled words. This requires reducing words to a skeletal form and applying pattern-matching algorithms.

It might seem logical that where spell-checking dictionaries are concerned, "the bigger, the better," so that correct words are not marked as incorrect. In practice, however, an optimal size for English appears to be around 90,000 entries. If there are more than this, incorrectly spelled words may be skipped because they are mistaken for others. For example, a linguist might determine on the basis of corpus linguistics that the word baht is more frequently a misspelling of bath or bat than a reference to the Thai currency. Hence, it would typically be more useful if a few people who write about Thai currency were slightly inconvenienced than if the spelling errors of the many more people who discuss baths were overlooked.

The first MS-DOS spell checkers were mostly used in proofing mode from within word processing packages. After preparing a document, a user scanned the text looking for misspellings. Later, however, batch processing was offered in such packages as Oracle's short-lived CoAuthor and allowed a user to view the results after a document was processed and correct only the words that were known to be wrong. When memory and processing power became abundant, spell checking was performed in the background in an interactive way, such as has been the case with the Sector Software produced Spellbound program released in 1987 and Microsoft Word since Word 95.

In recent years, spell checkers have become increasingly sophisticated; some are now capable of recognizing simple grammatical errors. However, even at their best, they rarely catch all the errors in a text (such as homophone errors) and will flag neologisms and foreign words as misspellings. Nonetheless, spell checkers can be considered as a type of foreign language writing aid that non-native language learners can rely on to detect and correct their misspellings in the target language.[14]

Spell-checking non-English languages

English is unusual in that most words used in formal writing have a single spelling that can be found in a typical dictionary, with the exception of some jargon and modified words. In many languages, words are often concatenated into new combinations of words. In German, compound nouns are frequently coined from other existing nouns. Some scripts do not clearly separate one word from another, requiring word-splitting algorithms. Each of these presents unique challenges to non-English language spell checkers.

Context-sensitive spell checkers

Recently,{{when|date=March 2019}} research has focused on developing algorithms that are capable of recognizing a misspelled word, even if the word itself is in the vocabulary, based on the context of the surrounding words. Not only does this allow words such as those in the poem above to be caught, but it mitigates the detrimental effect of enlarging dictionaries, allowing more words to be recognized. For example, baht in the same paragraph as Thai or Thailand would not be recognized as a misspelling of bath. The most common example of errors caught by such a system are homophone errors, such as the bold words in the following sentence:

Their coming too sea if its reel.

The most successful algorithm to date is Andrew Golding and Dan Roth's "Winnow-based spelling correction algorithm",[15] published in 1999, which is able to recognize about 96% of context-sensitive spelling errors, in addition to ordinary non-word spelling errors. A context-sensitive spell checker appears in Microsoft Office 2007,[16] and also appeared in the now-defunct Google Wave.[17]

Grammar checkers attempt to fix problems with grammar beyond spelling errors, including incorrect choice of words.

Criticism

Some critics{{Who|date=August 2010}} of technology and computers have attempted to link spell checkers to a trend of skill losses in writing, reading, and speaking. They claim that computers have made people lazy, often not proofreading written work except for a simple pass through a spell checker. Supporters{{Who|date=August 2010}} claim that these changes may actually be beneficial to society, by making writing and learning new languages more accessible to ordinary people. They claim that the skills lost by the use of automated spell checkers are replaced by better skills, such as faster and more efficient research skills.{{clarifyme|date=October 2016}} Other supporters of technology point out that these skills are not being lost by people who use written language frequently in their work, such as authors and journalists.[18]

An example of the folly of relying completely on spell checkers is shown in the Spell-checker Poem[19] above. It was originally composed by Dr Jerrold H. Zar[20] in 1991, assisted by Mark Eckman,[21] with an original length of 225 words, and containing 123 incorrectly used words. According to most unsophisticated spell checkers, the poem is valid, but most people can tell at a simple glance that most words are used incorrectly. As a result, spell checkers are sometimes derided as spilling chuckers or similar, slightly misspelled names.

Not all critics are opponents of technological progress, however. An article based on research by Galletta et al.[22] reports that higher verbal skills are needed for highest performance when using a spell checker.{{clarifyme|date=October 2016}} The theory suggested that only writers with higher verbal skills could recognize and ignore false positives or incorrect suggestions. However, it was found that those with the higher skills lost their unaided performance advantage in multiple categories of errors, performing as poorly as the low verbals with the spell-checkers turned on. The conclusion points to some evidence of a loss of skill.

See also

{{commons category|Spell checking}}
  • Approximate string matching
  • Cupertino effect
  • Grammar checker
  • Record linkage problem
  • Spelling suggestion
  • Words (Unix)

References

1. ^U.S. Patent 6618697, Method for rule-based correction of spelling and grammar errors
2. ^de Amorim, R.C.; Zampieri, M. (2013) Effective Spell Checking Methods Using Clustering Algorithms. Proceedings of Recent Advances in Natural Language Processing (RANLP2013). Hissar, Bulgaria. p. 172-178.
3. ^Zampieri, M.; de Amorim, R.C. (2014) [https://www.researchgate.net/profile/Renato_Amorim/publication/262603118_Between_Sound_and_Spelling_Combining_Phonetics_and_Clustering_Algorithms_to_Improve_Target_Word_Recovery/links/0a85e53cd2485a27fb000000.pdf Between Sound and Spelling: Combining Phonetics and Clustering Algorithms to Improve Target Word Recovery.] Proceedings of the 9th International Conference on Natural Language Processing (PolTAL). Lecture Notes in Computer Science (LNCS). Springer. p. 438-449.
4. ^{{cite web|last=Earnest|first=Les|title=The First Three Spelling Checkers|url=http://www.stanford.edu/~learnest/spelling.pdf|publisher=Stanford University|accessdate=10 October 2011|deadurl=yes|archiveurl=https://web.archive.org/web/20121022091418/http://www.stanford.edu/~learnest/spelling.pdf|archivedate=22 October 2012|df=}}
5. ^{{cite book | last1 = Peterson | first1 = James | title = Computer Programs for Detecting and Correcting Spelling Errors | date = Dec 1980 | url = http://simson.net/ref/2006/csci_e-180/ref/spelling-p676-peterson.pdf | accessdate = 2011-02-18}}
6. ^{{cite book | last1 = Earnest | first1 = Les | title = Visible Legacies for Y3K | url = http://stanford.edu/~learnest/legacies.pdf | accessdate = 2011-02-18 | deadurl = yes | archiveurl = https://web.archive.org/web/20110720044806/http://stanford.edu/~learnest/legacies.pdf | archivedate = 2011-07-20 | df = }}
7. ^{{cite web|url=http://cled.georgetown.edu/faculty/|title=Georgetown U Faculty & Staff: The Center for Language, Education & Development|accessdate=2008-12-18|deadurl=yes|archiveurl=https://web.archive.org/web/20090205140452/http://cled.georgetown.edu/faculty/|archivedate=2009-02-05|df=}}, citation: "Maria Mariani... was one of a group of six linguists from Georgetown University who developed the first spell-check system for the IBM corporation."
8. ^{{Cite news|url=|title=Teaching Computers to Spell (obituary for Henry Kučera)|last=Harvey|first=Charlotte Bruce|date=May-June 2010|work=Brown Alumni Magazine|access-date=|page=79}}
9. ^{{cite news| url=https://www.commodore.ca/gallery/magazines/compute/Compute-008.pdf |title=Micro Computer Industries, Ltd.|work=Compute! Magazine, Issue 8, Vol. 3, No. 1|date=January 1981|accessdate=|author=Advertisement|page=119}}
10. ^{{cite news | url=https://books.google.com/books?id=vy3cBZkjbZgC&lpg=PP1&pg=PA165#v=onepage&q&f=true | title=The Spelling Bee Is Over | work=PC Magazine | date=November 1982 | accessdate=21 October 2013 | author=Advertisement | pages=165}}
11. ^{{cite web |year=2017 |url=https://e-medtools.com/openmedspel.html |title=Medical Spell Checker for Firefox and Thunderbird |publisher=e-MedTools |accessdate=2018-08-29}}
12. ^{{cite web |last1=Quathamer |first1=Dr. Tobias |year=2016 |url=https://github.com/toddy15/medicalterms |title=German medical dictionary words |publisher=Dr. Tobias Quathamer |accessdate=2018-08-29}}
13. ^{{cite web |last1=Friedman |first1=Richard A. |last2=D |first2=M |year=2003 |url=https://www.nytimes.com/2003/03/11/health/cases-do-spelling-and-penmanship-count-in-medicine-you-bet.html |title=CASES; Do Spelling and Penmanship Count? In Medicine, You Bet |publisher=The New York Times |accessdate=2018-08-29}}
14. ^Banks, T. (2008). Foreign Language Learning Difficulties and Teaching Strategies. (pp. 29). Master's Thesis, Dominican University of California. Retrieved 19 March 2012.
15. ^{{cite journal |url=http://www.springerlink.com/content/u13k033301184r82/ |title=Journal Article |author= |date= |work= |publisher=SpringerLink |accessdate=22 September 2010}}
16. ^{{cite news |url=https://www.wsj.com/articles/SB116786111022966326 |title=Review |author=Walt Mossberg |date= 4 January 2007|work= |publisher=Wall Street Journal |accessdate=24 September 2010}}
17. ^{{cite web |url=http://googlesystem.blogspot.com/2009/05/googles-context-sensitive-spell-checker.html |title=Google Operating System |author= |date= |work= |publisher=googlesystem.blogspot.com |accessdate=25 September 2010}} {{cite web |url=http://googlesystem.blogspot.co.uk/2009/05/googles-context-sensitive-spell-checker.html|title=Google's Context-Sensitive Spell Checker |author= |date=May 29, 2009 |work= |publisher= |accessdate=25 September 2010}}
18. ^Baase, Sara. A Gift of Fire: Social, Legal, and Ethical Issues for Computing and the Internet. 3. Upper Saddle River: Prentice Hall, 2007. Pages 357-358. {{ISBN|0-13-600848-8}}.
19. ^{{cite web |url=http://www.paulhensel.org/teachspell.html |title=Candidate for a Pullet Surprise |author=Jerrold H. Zar |date= |work=Northern Illinois University |publisher= |accessdate=24 September 2010}}
20. ^{{cite web |url=http://www.bios.niu.edu/zar/zar.shtml |title=Retired faculty page |author= |date= |work= |publisher=NIU.edu |accessdate=6 May 2010}}
21. ^{{cite web |url=http://grammar.about.com/od/spelling/a/spellcheck.htm |title=The Spell Checker Poem, by Mark Eckman and Jerrold H. Zar |author= Richard Nordquist |date= |work= |publisher=About.com |accessdate=24 September 2010}}
22. ^Education.com Is Spell Check Creating a Generation of Dummies?

External links

  • {{dmoz|/Arts/Writers_Resources/Software/Spelling_and_Grammar/Spell_Checkers|List of spell checkers}}
  • Norvig.com, "How to Write a Spelling Corrector", by Peter Norvig
  • BBK.ac.uk, "Spellchecking by computer", by Roger Mitton
  • CBSNews.com, Spell-Check Crutch Curtails Correctness, by Lloyd de Vries
  • NIU.edu, Candidate for a Pullet Surprise - Complete corrected poem
{{DEFAULTSORT:Spell Checker}}

4 : Spell checkers|Text editor features|Spelling|Natural language processing

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/14 16:26:55