Skip to content

nicolasrb2001/Text_Censoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text_Censoring

This is my implementation of a program that censors words in debate.txt from a given set of words in redact.txt.

Motivation 🛸


This was part of my coursework during 1st year and I improved my understanding of string and text manipulation in C.

Features

  • This program can distinguish all words from each other in redact.txt as long as they are separated (see screenshots)
  • The program creates a new file (or overwrites it if already existing) results.txt that containts the text after being censored.

Technical Information

This was developed using CLion. I had some constraints when developing this program: I was not allowed to use any string manipulation libraries to handle comparisons and more.

Known Issues/Limitations

This program will ignore any symbols or characters that are not in the English alphabet, e.g having 1000 or (".? in redact.txt will not be assumed to be a word that has to be censored

Screenshots

As mentioned in Features, the words to be censored can be stored in any way, ie the program ignores all the white space in redact.txt.

This is an example of part of the text that will be censored.

And this is part of the result.

About

C program that censors words in a text file

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published