Skip to content

Command line program written using Gradle and Java 11 which counts words.

License

Notifications You must be signed in to change notification settings

KyranRana/word-counter-java

Repository files navigation

Java CI with Gradle License: MIT

Word Counter

This is a simple command line program written using Gradle and Java 11 which counts words.

This program can be run with the steps below:

  1. Go into the directory of this project using command line.
  2. Install the program with gradlew clean install
  3. Run the word counter command using ./build/install/WordCounter/bin/WordCounter --help

Command-Line Arguments

-m, --mode - Word counter to use to count words. Default is ANY which counts all words whether or not they exist in a dictionary. You can change mode to ENGLISH which filters out non-english words (be aware uses a data source consisting of only 10,000 words).

<textFile> - Path to the text file to output the word frequency of

About

Command line program written using Gradle and Java 11 which counts words.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages