Status: Assigned Owner: [email protected] CC: [email protected] Labels: Type-Feature Pri-2 OS-All Area-BrowserUI
New issue 7624 by [email protected]: Add automatic correction to spell checker http://code.google.com/p/chromium/issues/detail?id=7624 We should make it so that commonly misspelled words get automatically corrected. For example, "tihs" could be switched to "this", "teh" to "the", etc. This feature will probably need some tweaking before it feels right, but could be a real improvement to spell checking in browsers. The words should get corrected immediately after the user types a space or another separator. This correction should only happen for typed text, not for text that has been copy-pasted or automatically filled in (like the reply text in an email). Some UI should indicate that the correction happened and allow the user to revert it (and other actions such as "add to dictionary"). However, lets worry about that once we have an initial prototype and get a feel for whether we like it or not. Initially, we can use the existing spellcheck suggestion generator, and pick the most common of the suggestions. I'm not sure if this comes with some measure of confidence, but if so we would want to use a fairly high threshold. We may also want to develop more specific algorithms. I presume these errors are often due to people typing too fast and letters getting swapped out, so one possible algorithm would be: * if the just typed word is misspelled ("tihs") * create alternatives by swapping adjacent letters pairwise ("iths", "this", "tish") * look up each alternative in the dictionary * if one alternative gives a correct spelling, auto correct the word * if there are several matches, disambiguate by picking the most commonly occurring one -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---
