https://github.com/aye-nyeinsan/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.
https://github.com/aye-nyeinsan/textanalyzer
charactercounter emoticon java palindrome-checker textanalyzer textprocessor wordcounter
Last synced: 21 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/aye-nyeinsan/textanalyzer
- Owner: aye-nyeinSan
- Created: 2023-03-07T02:35:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-07T02:44:42.000Z (over 3 years ago)
- Last Synced: 2025-03-11T08:50:29.679Z (over 1 year ago)
- Topics: charactercounter, emoticon, java, palindrome-checker, textanalyzer, textprocessor, wordcounter
- Language: Java
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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?
```{java}
javac TextAnalyzer.java
```
## How to run?
```{java}
java TextAnalyzer
example: java TextAnalyzer input1.txt
```
## Expected output
```{shell}
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.
```