Words that shouldn't be fixed
See original GitHub issueI think that you should check if the word is inside of a quotation before fixing it.
For example:
>>> import contractions
>>> contractions.fix("you're happy now")
'you are happy now' # works fine
>>> contractions.fix('I like the letter "u"')
'I like the letter "you"' # "u" should stay "u"
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
The 32 most commonly misspelled words that make you look ...
These are the 32 most commonly misspelled words, say grammar experts. How many can you get right? · 1. accommodate · 2. acknowledgment...
Read more >unlikely or impossible to change - synonyms and related words
unchanging · firm · rigid · irreversible · invariable · unvarying · final · hard and fast.
Read more >Do You Speak American . Words That Shouldn't Be ... - PBS
The eighteenth-century hope that language could be 'fixed' – that is, improved, or changed in a way some self-appointed linguistic judge would approve...
Read more >Two words you need to remove from your vocabulary - Aruma
Retard (or the r-word), and spastic are words which have historically been used to describe people with a disability but here's why we...
Read more >Avoid jargon - Plain Language.gov
Download: PDF · Word · Guidelines > Choose your words carefully. Avoid jargon. Jargon is unnecessarily complicated language used to impress, rather than...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yea I think unfortunately this is not easy to get right I feel. Also the algorithm doesn’t lend itself well for it. It would be only good for fixed-length string patterns. So in that sense, “u” could work, but anything beyond that is not really possible.
I mean, maybe by counting the number of
"
?I don’t know it was an idea but you could let the user do it by himself and don’t change anything