ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Google Spell Check

by noahcoad ST2/ST3

Uses Google Search spelling magic to fix words or phrases for Sublime Text.

Details

  • 3 2015.10.19.16.12.01
    2 2015.10.19.16.10.48
  • github.​com
  • github.​com
  • 3 years ago
  • 2 hours ago
  • 5 years ago

Installs

  • Total 45K
  • Win 18K
  • OS X 18K
  • Linux 9K
Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27
Windows 9 6 3 5 8 5 7 9 11 6 5 10 5 15 11 9 4 7 9 5 7 1 6 6 4 6 8 8 8 8 1 3 6 3 11 7 5 5 7 10 13 9 9 7 3 4
OS X 6 9 4 5 10 1 8 4 7 0 1 3 8 10 12 13 4 2 6 5 6 6 4 3 5 9 13 9 10 7 5 3 8 9 6 3 9 3 4 7 9 9 5 6 7 1
Linux 1 3 3 2 5 6 3 2 1 2 2 7 7 7 3 4 2 4 3 2 3 4 5 1 3 3 8 3 3 6 3 0 5 6 5 2 4 3 2 4 2 5 3 2 1 0

Readme

Source
raw.​githubusercontent.​com

Google Spell Check

a Sublime Text Package

Sublime Text 2 version: https://github.com/noahcoad/google-spell-check/tree/st2
Sublime Text 3 version: https://github.com/noahcoad/google-spell-check/tree/st3
Package Control Info: https://sublime.wbond.net/packages/Google%20Spell%20Check

Description

Use Google magic to fix spelling. Replaces the selected text with Google's spelling correction. Google has a far better spell checker than most tools.

Watch this quick 1:30 min video showing it in action.

This does not replace the built-in spell checker, offer a list of suggestions, or adds words to the built-in dictionary. Instead it replaces the selected text with the Google search page's recommended spelling. It's like magic. Outright uncanny how accurate Google can be. Text isn't affected if Google thinks you've got it right.

There are several problems with most typical spell checkers:

  1. Lack of Frequency, most use grammatical syntax 'sounds like' numeric lookup tables, but don't know how frequent a misspelling is, google sees misspellings all the time so they have a much better idea of what you're after
  2. No Help w Names, company names like flikr tumblr or say I'm talking about scifi author jon scalzi most would say Jon and no idea on scalzi because they look one word at a time, google search considers the whole phrase and popular names together to correct to john sculzi
  3. Limited Dictionary, most use somewhat limited dictionaries, whereas google has the world of words available to it, like hackathons, scifi, craigslist
  4. Lack of Context, most only check the word itself, not taking into consideration the context you're using the word or phrase in
  5. Just Suck, like Sublime's spell checker has no idea what do to with: avalible, finanicals, maitenence

BTW, this uses a standard Google search page results instead of the Google API. This is nice in that an API key isn't required, but isn't 100% officially supported, so Google changing their URL schema could break the plugin.

Installation

any of these… * Get through the awesome Sublime Package Control as Google Spell Check (pending approval from wbond) * Download and unpack into your sublime packages folder a version for: Sublime Text 2 or Sublime Text 3 * Git clone into your sublime packages folder
Sublime Text 2: git clone --branch st2 https://github.com/noahcoad/google-spell-check.git
Sublime Text 3: git clone --branch st3 https://github.com/noahcoad/google-spell-check.git

How to Use

  1. Select some text in the editor or put cursor under a word to check
  2. Run the google_spell_correct command
    • via hotkey ctrl+alt+g
    • via right-click context menu > Google Spell Check
    • via Command Pallet, ctrl+shift+p (command+shift+p in OSX) > Google Spell Check
  3. be patient, may take a second for google to return a result
    If nothing changes, google probably thinks your spelling is okay, or has no idea what you're talking about. Try selecting some more words to give google context.

Update Notices

  • 2013-10-14, Sublime Text 3 version added. Updates going forward will only be made to the Sublime Text 3 version of the package.

Finally

See also: You may like this Open URL sublime package.

Author: @noahcoad writes software for the heck of it and to make life just a little more efficient.