Count every occurence of each words in a text file, and export a CSV
Clone the project on your computer
git clone https://github.com/degun-osint/wordcount
To use the script navigate to the project folder and type
cd wordcount
python3 wordcount.py file_to_analyse.txt file_to_export.csv
You can tweak the exclude words by editing exclude.txt
and add your own words.
There is a text.txt file with some text for you to play with Enjoy
This is a very simple and beginner script... do not hesitate to correct or optimize if you want !