<commit_before># TheTypoMaster's Brain

This code is what controls the behaviour of [@TheTypoMaster](https://github.com/thetypomaster), a bot which searches for a typo and finds the latest repositories with that typo. It fixes the typo/typos in the repository and submits a pull request.

Unlike [@thoppe](https://github.com/thoppe)'s [ortographic pedant](https://github.com/thoppe/orthographic-pedant), this bot isn't searching through just the README file but all text files it can get its hands on.

## Word list
To search for the typos and check them, the TheTypoMaster is taking help from a text file with about ~4500 wrongly spelled words and the right spelled version of that. You can find it [here](words/words.txt).

## Credentials
To turn this project into your own (though it is quite dangerous), please create a credentials folder and put a credentials.txt file in that with the first and second lines like:

    username
    password

## A special thanks to
* [@holmstrom](https://github.com/holmstrom)
* [@thoppe](https://github.com/thoppe)<commit_msg>Fix name of thoppe's bot.<commit_after># TheTypoMaster's Brain

This code is what controls the behaviour of [@TheTypoMaster](https://github.com/thetypomaster), a bot which searches for a typo and finds the latest repositories with that typo. It fixes the typo/typos in the repository and submits a pull request.

Unlike [@thoppe](https://github.com/thoppe)'s [orthographic-pedant](https://github.com/thoppe/orthographic-pedant), this bot isn't searching through just the README file but all text files it can get its hands on.

## Word list
To search for the typos and check them, the TheTypoMaster is taking help from a text file with about ~4500 wrongly spelled words and the right spelled version of that. You can find it [here](words/words.txt).

## Credentials
To turn this project into your own (though it is quite dangerous), please create a credentials folder and put a credentials.txt file in that with the first and second lines like:

    username
    password

## A special thanks to
* [@holmstrom](https://github.com/holmstrom)
* [@thoppe](https://github.com/thoppe)
{'fraction_non_alphanumeric': 0.08251748251748252, 'fraction_numerical': 0.0037296037296037296, 'mean_word_length': 4.617801047120419, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, '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': '7600691', 'n_tokens_mistral': 622, 'n_tokens_neox': 577, 'n_words': 280}