Book Word Counter is a Java program that counts the frequency of each word in a book and allows users to query for the count of specific words.
The program uses a Map data structure, enabling it to search for words in O(1) time complexity, making it super fast.
- Search for the frequency of a specific word in a book
- Java 8 or higher
- Clone the repository:
git clone https://github.com/Computer-Science-Classes/book-word-counter.git
- Navigate to the project directory:
cd book-word-counter
- Compile the program:
javac BookWordCounter.java
- Run the program:
java BookWordCounter
The program will prompt you to enter the name of a book and then a word. You can continue to enter words until you type 'quit'.
This project is licensed under the terms of the MIT license. For more information, see LICENSE.