Spelling Suggestion on the JVM

Ricardo Rocha
2 min readFeb 13, 2018

The following list presents a series of blog posts on the “better Java” family of JVM languages: Kotlin, Scala and Xtend. Articles revolve around a simple (but useful) spelling corrector based on Peter Norvig’s typo correction algorithm. This algorithm is first implemented in Java 9 following a functional style. It is then implemented, in an idiomatic fashion, in the three languages as as to contrast them with Java (and one another) for both the better and the worst.

1: Introduction to Spelling Correction
2: Java Implementation of Spelling Corrector
3: Kotlin Implementation of Spelling Corrector
4. Scala Implementation of Spelling Corrector (in the works)
5. Xtend Implementation of Spelling Corrector (in the works)
6. Conclusion: A Tale of Four Languages

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Ricardo Rocha
Ricardo Rocha

No responses yet

Write a response