© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
T. LaversLearn to Program with Kotlinhttps://doi.org/10.1007/978-1-4842-6815-5_10

10. Project Austen

Tim Lavers1  
(1)
Woonona, NSW, Australia
 
The previous chapters have given us enough basic skills to start on the first of our programming projects. The goal of this project will be to make a statistical analysis of the novels of Jane Austen. For each of Austen’s major works, we will calculate
  • The number of words in the book

  • The set of distinct words

  • Frequency histograms of word usage

This project introduces two of the cornerstones of modern software engineering: Object-Oriented Programming and Unit Testing .

10.1 Object-Oriented Programming

Object-Oriented Programming, ...

Get Learn to Program with Kotlin: From the Basics to Projects with Text and Image Processing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.