Skip to content

This is a simple text analyzer program implemented in four ways using different technologies (Console, JavaFX, Web, Database)

Notifications You must be signed in to change notification settings

hanngos/TextAnalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This is a simple text analyzer program, which:
◦ loads a string given by the user
◦ counts the number of times the last character is repeated in this text and displays along with information about the percentage of these letters in given string
◦ calculates and prints out information about number of words in given text as well as displaying information on how many words of a certain length (1, 2, 3, ...) are present in the text with a percentage value
◦ counts and displays information about the number of palindromes and provide occurrence statistics for all palindromes
◦ counts diacritical marks and displays with percentage

1 - Base

Console application implementing functionality as described above.

2 - Tests

The second app is an improved version of previous one (e.g. collections and streams were added). In addition parameterized tests were written.

3 - JavaFX

Application was improved and refactored by using JavaFX. After RUN button was clicked, results of text analyzis are being printed out in adequate tabs mostly in TableView. Furthermore if there is no palindromes nor diacritics those tabs are being disabled and proper message is added as tooltip. As an improvment lamba expressions and interface were added.

4 - HTML

The 4th one is an WebApp. Changes include adding servlets (with doPost and doGet methods), filter and cookies. Results are being displayed only if there was no timeout of a session and it is still runnig.

5 - JDBC

Database support based on Apache Derby was included with the previous application. Entities (i.e. Diacritics, Palindromes, Words ...) and CRUD for each of them have been added. The application connects to the database via JDBC.


It was realized for Java on the Internet and Mobile Devices course on Silesian Univeristy of Technology.

About

This is a simple text analyzer program implemented in four ways using different technologies (Console, JavaFX, Web, Database)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published