<commit_before># MISTYPOGRAPHY
This module implements different typo correction strategies discussed
in https://www.cs.cornell.edu/~rahul/papers/pwtypos.pdf.

## REQUIREMENTS
* Install `pwmodel` from [here](https://github.com/rchatterjee/pwmodels.git)
```bash
$ pip isntall git+https://github.com/rchatterjee/pwmodels.git
```
   This should install all the dependencies, if not, you may have to
   install `python-Levenshtein`.
```bash
$ pip install python-Levenshtein
```

## INSTALL

```bash
$ pip install git+https://<EMAIL>@<EMAIL>.org/rchatterjee/pwmodels.git<commit_msg>Correct minor typo in instructions<commit_after># MISTYPOGRAPHY
This module implements different typo correction strategies discussed
in https://www.cs.cornell.edu/~rahul/papers/pwtypos.pdf.

## REQUIREMENTS
* Install `pwmodel` from [here](https://github.com/rchatterjee/pwmodels.git)
```bash
$ pip install git+https://github.com/rchatterjee/pwmodels.git
```
   This should install all the dependencies, if not, you may have to
   install `python-Levenshtein`.
```bash
$ pip install python-Levenshtein
```

## INSTALL

```bash
$ pip install git+https://<EMAIL>@bitbucket.org/rchatterjee/pwmodels.git
{'fraction_non_alphanumeric': 0.13446808510638297, 'fraction_numerical': 0.0, 'mean_word_length': 5.288770053475936, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1389032', 'n_tokens_mistral': 426, 'n_tokens_neox': 386, 'n_words': 91}