<commit_before>TypoFixr
===============

A [Sublime Text](http://www.sublimetext.com/3) plugin that allows you to…

**determine a list of possible typos and correct them automatically**

---

- [Intro](#Intro)
- [Installation](#installation)
	- [Alternative installation methods](#alternative-installation-methods)
		- [From github](#from-github)
		- [Manually](#manually)
- [Usage](#usage)
	- [Correction](#correction)
- [Settings](#settings)
	- [Changing the highlighting color](#changing-the-highlighting-color)
	- [Keeping trailing spaces invisible](#keeping-trailing-spaces-invisible)

Intro
--------

Are you tired of seeing :

``` js
window is not defined
```

or

``` js
display is not defined
```

while coding Javascript ?

TypoFixr gets you covered. Define your own list of possible typos, and correct them on-save or manually.

Installation
------------

It is available through
[Sublime Package Contol](http://wbond.net/sublime_packages/package_control) and
this is the recommended way of installation.
Just open Packaope Control and look for TypoFirx

### Alternative installation methods

#### From github

You can install from github if you want, although Package Control automates
just that. Go to your `Packages` subdirectory under ST's data directory:

* Windows: `%APPDATA%\Sublime Text X`
* OS X: `~/Library/Application Support/Sublime Text X`
* Linux: `~/.config/sublime-text-X`
* Portable Installation: `Sublime Text X/Data`

Then clone this repository:

    git clone git://github.com/sylzys/TypoFixr.git

#### Manually

[Download](https://github.com/sylzys/TypoFixr/archive/master.zip)
the plugin as a zip. Copy the *TypoFixr* directory to its location
(see prior section).

Usage
-----

### Correction

* bind the deletion command to a keyboard shortcut:

To add a key binding, open "Preferences / Key Bindings - User" and add:<commit_msg>modified README<commit_after>TypoFixr
===============

A [Sublime Text](http://www.sublimetext.com/3) plugin that allows you to…

**determine a list of possible typos and correct them automatically**

---

- [Intro](#Intro)
- [Installation](#installation)
	- [Alternative installation methods](#alternative-installation-methods)
		- [From github](#from-github)
		- [Manually](#manually)
- [Usage](#usage)
	- [Correction](#correction)
- [Settings](#settings)
	- [Changing the highlighting color](#changing-the-highlighting-color)
	- [Keeping trailing spaces invisible](#keeping-trailing-spaces-invisible)

Intro
--------

Are you tired of seeing :

``` js
wnidow is not defined
```

or

``` js
dispaly is not defined
```

while coding Javascript ?

TypoFixr gets you covered. Define your own list of possible typos, and correct them on-save or manually.

Installation
------------

It is available through
[Sublime Package Contol](http://wbond.net/sublime_packages/package_control) and
this is the recommended way of installation.
Just open Package Control and look for TypoFirx

### Alternative installation methods

#### From github

You can install from github if you want, although Package Control automates
just that. Go to your `Packages` subdirectory under ST's data directory:

* Windows: `%APPDATA%\Sublime Text X`
* OS X: `~/Library/Application Support/Sublime Text X`
* Linux: `~/.config/sublime-text-X`
* Portable Installation: `Sublime Text X/Data`

Then clone this repository:

    git clone git://github.com/sylzys/TypoFixr.git

#### Manually

[Download](https://github.com/sylzys/TypoFixr/archive/master.zip)
the plugin as a zip. Copy the *TypoFixr* directory to its location
(see prior section).

Usage
-----

### Correction

* bind the deletion command to a keyboard shortcut:

To add a key binding, open "Preferences / Key Bindings - User" and add:
{'fraction_non_alphanumeric': 0.13079603323505762, 'fraction_numerical': 0.0005360493165371214, 'mean_word_length': 4.346704871060172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1478806', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1121, 'n_words': 380}