word-counter is a tool used to get relevant data describing text files.
word-counter does just that. Count words!
When run on a text file, word-counter will find:
- Total number of words.
- Number of unique words.
- Number of times a particular word appears.
Since this tool is written in Go, you will need to install go on your own machine first. Once you have installed Go:
- Clone this repo.
- Open a terminal and cd into the counter directory.
- Type "go install" and hit enter.
After successful installation of word-counter, you may now run this program from anywhere on your machine. To run this tool:
- Open a terminal.
- Navigate to the directory which contains the text file you wish to use.
- Type counter <your-file-name.txt>, where <your-file-name.txt> is the file you selected.