2
$\begingroup$

In principle the same as this but for Java (and ideally for multiple languages) (e.g. flesch reading ease, smog index, flesch kincaid grade, coleman liau index, automated readability index, dale chall readability score, linsear write formula, gunning fog etc).

I guess there must be plenty of libs but I just cant find them ...

$\endgroup$

1 Answer 1

0
$\begingroup$

I looked for this as well and found only the unmaintained RAT library.

But basically all of these algorithms (most are described as formulas in this paper) can be directly translated from the single Python file with no extra dependencies.

One exception was the Linsear Write formula because of its needing a syllable counting method. But if you use the CMU pronunciation dictionary or equivalent, you can easily build the countSyllables method and the rest of the algorithm is trivial.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.