pycontractions · PyPI
https://pypi.org/project/pycontractions>>> from pycontractions import Contractions # Load your favorite semantic vector model in gensim keyedvectors format from disk >>> cont = Contractions ('GoogleNews-vectors-negative300.bin') # or specify any model from the gensim.downloader api >>> cont = Contractions (api_key = "glove-twitter-100") # or train or load your own keyedvectors model and pass it in >>> …