Skip to content

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages