Home For Fiction – Blog

for thinking people

Patreon LogoPatreon

vocabulary

Vocabulary Richness Ratio: a JavaScript Analyzer for Fiction Texts

August 18, 2020

I’ve been reading a lot of Yukio Mishima’s fiction lately. In awe of the richness of his vocabulary, I decided to code a little program that analyzes a novel and tells us how diverse the author’s word choices are. Enter Vocabulary Richness Ratio, my newest JavaScript experiment!

Just like my Fiction Complexity Index attempt, the Vocabulary Richness Ratio is:

  • available to you to try here on this page.
  • a work-in-progress – in other words, take the results with a grain of salt.

I’ve combined my expertise in literature and creative writing together with my interest in coding, and this little program was the result. Again, I must emphasize that it’s only a work-in-progress. It can give you a hint of how rich the vocabulary of your book is, but it’s not exact science.

vocabulary richness ratio
Vocabulary Richness Ratio is a JavaScript program that finds unique words in a text and, together with other factors, estimates how diverse the book’s vocabulary is
(more…)