Project

Readability Score (Java)

Medium
2122 completions
~ 20 hours
4.2

Learn to call programs from the command-line and get more experience with using regexes and Math class.

Provided by

JetBrains Academy JetBrains Academy

About

Everyone has their own personal reading history, and as we grow up, we are able to comprehend more and more complicated texts. But how do you estimate the level of difficulty of a given text, and how do you teach a computer to do that? In this project, you will find it out: write a program that determines how difficult the text is and for which age it is most suitable.

Training project icon

Training project

This project allows you to practice and strengthen your coding skills, helping you get ready for more advanced tasks ahead.

What you'll learn

Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Apply your knowledge of advanced strings, arrays and regular expressions: determine how difficult the text is judging by the average count of words in the sentences.
Add a readability score based on a special formula: it will estimate the difficulty levels of larger bodies of texts uploaded from a file.
More parameters can be taken into account: for example, you can consider syllables and letters. Enable the program to base its estimation on those parameters altogether.

Reviews

eomy avatar
eomy
1 day ago
Manipulate various text case with regexp is stimulates. But unless you expect to learner conduct reverse enginnering gradle's test file, You must suggest more example and information about edge-case.
Roy Aimo
4 months ago
I've learned how to read files from command-line arguments, and I've used the Scanner class to read each word from the input. Then, I counted syllables, polysyllables, and words. For this project, I used regular expressions, parsing methods, and formulas to measure the reading level for different ag ...
Tomas Torres Diaz avatar
Tomas Torres Diaz
8 months ago
I have deepend my knowledge about reading files, priting with a format and using the Math library. It was also fun to develop algorithms to manage texts, sentences, words and do things with them.

4.2

Learners who completed this project within the Java Desktop Application Developer course rated it as follows:
Usefulness
4.3
Fun
4.1
Clarity
4.0