Project

Text Processor

Hard
20 completions
~ 25 hours
4.2

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

Womix avatar
Womix
6 months 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.
User 620362169
6 months ago
It was a difficult project but enabled me to try out various programming concepts and gained strong confident data structures and key kotlin concepts.

4.2

Learners who completed this project within the Kotlin Developer course rated it as follows:
Usefulness
4.7
Fun
4.6
Clarity
3.4