Skip to content

a program that open a text file and correct some punctuation mistakes

Notifications You must be signed in to change notification settings

rohithkodali/correction-text

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

correction-text

This repository contains a file .txt and a program that opens the file and corrects some punctuation and orthographic mistakes contained in it. For example, if a point is followed by a lowercase letter without any space, the program inserts a space and write the corresponding capital letter.

The file corrections.py contains all the functions that correct the lines in a file and a function that opens a file and apply all corrections.

The file mrs_dallowaytext.txt contains the first few lines from "Mrs. Dalloway", Virginia Woolf.

To launch the program: python correct_text.py

About

a program that open a text file and correct some punctuation mistakes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages