Project

Text Processor

Hard
28 completions
~ 26 hours
4.3

In this project, you’ll get familiar with map data structure, master String data type, and regular expressions. You’ll know how to efficiently use loops and conditions, and additionally, gain skills to work with files.

Provided by

JetBrains Academy JetBrains Academy

About

In our everyday life, we work with data, they are all in different formats. One of the most known types of data is text. Sometimes we need to get some statistics about the texts we read, or we generate some data in text format, and we want it to be nicely formatted to be easy to read for others. In this project, we will develop a useful tool that will analyze the text, generate statistics about it, and format it if needed.

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:
Create a program that receives text input from a user, counts the number of characters, and identifies the most used character.
Allow users to provide multi-line input.
Read text from files and keep results in files.
Format text by removing redundant spaces and adding missing ones.
Count words and give more detailed statistics.
Check for the punctuation rules and correct mistakes.
Get parameters from the command line.

Reviews

Marc Smith
3 months ago
This was a challenging project. I learned more about regular expressions to find and modify text and wrote a program that could be menu driven or command line driven. I even had to get into the unit test program to see why the output of the program was not working as expected. Overall, a very fun p ...
Vladimir Yudin avatar
Vladimir Yudin
8 months ago
An interesting project. It helped me learn about and explore an interesting feature of regular expressions: lookarounds.
Womix avatar
Womix
1 year ago
While doing this project, I figured out how to work with Regex, which helps a lot when working with strings. In addition, I've mastered working with JSON.Also, the error "Your history output is wrong" will give me nightmares.

4.3

Learners who completed this project within the Kotlin Developer course rated it as follows:
Usefulness
4.8
Fun
4.5
Clarity
3.6