Skip to content

Text Analyzer is a Java-based console application designed to help users analyze text files. With this tool, users can easily count the number of words, lines, characters, palindrome words, longest tokens ,average tokes and emoticons in a file, as well as calculate the frequency of each word in the text.

Notifications You must be signed in to change notification settings

aye-nyeinSan/TextAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TextAnalyzer

Text Analyzer is a Java-based console application designed to help users analyze text files. With this tool, users can easily count the number of words, lines, characters, palindrome words, longest tokens ,average tokes and emoticons in a file, as well as calculate the frequency of each word in the text.

By AYE NYEIN SAN

How to compile?

javac TextAnalyzer.java

How to run?

java TextAnalyzer <input file path>
example: java TextAnalyzer input1.txt

Expected output

Program start: 
Total token count is 374
Total newline count is 15
Total emoticon count is 2
Total word count is 370
Total character count is 1914
Total palidrome word count is 0
Total largest token count is 31
Total average token word count is 5.0
Total time to execute this program: 2 ms.

About

Text Analyzer is a Java-based console application designed to help users analyze text files. With this tool, users can easily count the number of words, lines, characters, palindrome words, longest tokens ,average tokes and emoticons in a file, as well as calculate the frequency of each word in the text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages