A tool in C++ that counts the number of times a word appears in a document.
This tool developed using C++ reads the text from a file, and it counts the frequency of each word in the document. It's a helpful resource for linguistic research, SEO optimization, or any task that requires a word frequency count.
Make sure you have a C++ compiler. This project also utilizes CMake for build automation. Have it installed to compile the project.
- Clone this repository.
- Navigate into the project directory.
- Run
cmake .
to generate the makefile. - Run
make
to compile the project.
Run the tool from the command line, followed by the filename of the document you want to analyze. For example: The program will output a list of words, ordered by their occurrence frequency in the document.
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.
Word-Frequency is an open-source project. Star the repository if you find it helpful and contributing.
Enjoy!