Skip to content

AngryOwl64/Keyword_Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keyword Counter (Java)

A simple Java console application that counts how often predefined keywords appear in a given text.

Features

  • Manual keyword input or file-based keywords (keywords.txt)
  • Case-insensitive matching
  • Input validation (no empty keywords)
  • Reusable analysis loop
  • Clean console output

Keyword file format

keywords.txt (optional):

Owl

apple

java

github

One keyword per line. Empty lines are ignored.

Usage

javac Main.java

java Main

Project structure

Main.java

KeywordCounter.java

keywords.txt (optional)

README.md

Notes

  • Falls back to manual input if the file is missing or empty
  • Designed as a learning project with focus on clean structure

About

Java console tool that counts predefined keywords in user provided text.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages