Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forbidden-Words

A little script that you can use to retrieve sections from a Microsoft Word file that have certain "scary" words in them

Installation

To install the required packages, use bash and run:
    pip install -r requirements.txt

Running your Forbidden Word Checker

To run this script, ensure the forbidden-words.txt file is in your current directory. This should be alongside the finding-forbidden-words.py python script and the Microsoft Word docx file.

Then you run:
    python finding-forbidden-words.py Offending-Word-File.docx forbidden-words.txt.

This will output a file called forbidden-lines.txt which will show each sentence from your Microsoft Word docx file that has any of the forbidden words.

Happy Censoring!!

About

A little script that you can use to identify sections in a Microsoft Word file that have certain "scary" words in them

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages