Skip to content

michaelmunoz/word-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

word-counter

What is this tool?

word-counter is a tool used to get relevant data describing text files.

What data does this tool collect?

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.

How to to install word-counter on your machine

Since this tool is written in Go, you will need to install go on your own machine first. Once you have installed Go:

  1. Clone this repo.
  2. Open a terminal and cd into the counter directory.
  3. Type "go install" and hit enter.
Now you have successfully added the word-counter program to your machine!

How to run word-counter

After successful installation of word-counter, you may now run this program from anywhere on your machine. To run this tool:

  1. Open a terminal.
  2. Navigate to the directory which contains the text file you wish to use.
  3. Type counter <your-file-name.txt>, where <your-file-name.txt> is the file you selected.

About

Simple Text File Parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages