contractions icon indicating copy to clipboard operation
contractions copied to clipboard

Fixes contractions such as `you're` to `you are`

Results 13 contractions issues
Sort by recently updated
recently updated
newest added

I have attempted to added a couple dozen custom acronym replacements and they are replaced as expected but in all upper case. e.g. contractions.add('MS', 'Model S') results in 'MODEL S'...

Hi, It seems like 'cause' is still changed to 'because' when slang=True, and 'gimme' seems to become 'give me' regardless. Thanks

On https://pypi.org/project/contractions/ it lists this library as only valid for python 3.6 at the latest (which was released 4? years ago). Have you tried it with later versions? Is pypi.org...

This is a small edit that more easily enables reversing of contraction replacement using built in TextSearch functionality. Maintains original behavior by default.

I think that you should check if the word is inside of a quotation before fixing it. For example: ```python >>> import contractions >>> contractions.fix("you're happy now") 'you are happy...

There seems to be a bug when running the following test code: ```python import contractions test_str = "He continued his studies at Maltepe Military High School in İzmir and then...

I recommend that you implement unit tests.

I tired from contractions import CONTRACTION_MAP but it didn't work, so I ended up finding contraction.py file with the dictionary of phrases and expansions name "CONTRACTION_MAP". Does this mean that...

If I read your code correctly, you are assuming that the contraction for a month will always have a "." at the end. That may not be the case. For...

Sure, I can read the code. However, it would be a nice addition for you to explain the usage of leftovers and slang options in the readme.md Thanks