Skip to main content

Text Correction wth deep learning

Project description


Pre-trained models for punctuation correction (trained on google news, wikipedia and tatoeba) are available at

Demo of the punctuation model trained on google news corpus is available at

This repo uses a seq2seq model written by me in keras with tensorflow backend. The multi-purpose seq2seq model can be found at


from deepcorrect import DeepCorrect
corrector = DeepCorrect('params_path', 'checkpoint_path')


pip install deepcorrect

Points to Note:

Max input and output lengths are 200

Segment text into sentences using and run punctuation correction on each sentence seperately.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for deepcorrect, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size deepcorrect-1.0.5-py2.py3-none-any.whl (14.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size deepcorrect-1.0.5.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page