<commit_before># Dumb Quoter

*Replace smart quotes with dumb ones, plus other formatting simplifications.*

This simple package contains a single function that replaces smart quotes and other Unicode punctuation with simplified "dumb" versions.

If text is highlighted, changes are only made to the selected portion. Otherwise, the entire document is changed.

Made for Pixelberry Studios content writers. Modeled after [smart-quotes-plus](https://github.com/blakegarretson/smart-quotes-plus).

Input|Character Name|Unicode|Output
:-------:|:-------:|:-------:|:------:
`“` or `”`|double quote|U201C, U201D|`"`
`‘` or `’`|single quote|U2018, U2019|`'`
`…`|horizontal ellipsis|U2026|`...`
`–`|en dash|U2013|`-`
`—`|em dash|U2014|`--`
<commit_msg>Added screenshot<commit_after># Dumb Quoter

*Replace smart quotes with dumb ones, plus other formatting simplifications.*

This simple package contains a single function that replaces smart quotes and other Unicode punctuation with simplified "dumb" versions.

If text is highlighted, changes are only made to the selected portion. Otherwise, the entire document is changed.

Originally for [Pixelberry Studios](http://www.pixelberrystudios.com/) content writers. Modeled after [smart-quotes-plus](https://github.com/blakegarretson/smart-quotes-plus).

Input|Character Name|Unicode|Output
:-------:|:-------:|:-------:|:------:
`“` or `”`|double quote|U201C, U201D|`"`
`‘` or `’`|single quote|U2018, U2019|`'`
`…`|horizontal ellipsis|U2026|`...`
`–`|en dash|U2013|`-`
`—`|em dash|U2014|`--`

![Example of package in action](https://raw.githubusercontent.com/lukefg/dumb-quoter/master/screenshots/screenshot.png)

{'fraction_non_alphanumeric': 0.17058468957203135, 'fraction_numerical': 0.03134418324291742, 'mean_word_length': 4.804195804195804, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 1, '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': '391207', 'n_tokens_mistral': 573, 'n_tokens_neox': 526, 'n_words': 156}