Giter VIP home page Giter VIP logo

java_fathom's Introduction

ci

Measures the readability of English text.

This package is pretty much a straight port of two Perl packages into Java:

  • Lingua::EN::Fathom by Kim Ryan.
  • Lingua::EN::Syllable by Greg Fast.

This package allows you to generate common readability indices from English text.

Fog Index

( words_per_sentence + percent_complex_words ) * 0.4

The Fog index, developed by Robert Gunning, indicates the number of years of formal education a reader would need to understand the text on the first reading.

Flesch reading ease level

206.835 - (1.015 * words_per_sentence) - (84.6 * syllables_per_word)

The Flesch reading ease test rates text on a 100 point scale. The higher the score, the easier it is to understand the text. A score of 60 to 70 is considered to be optimal.

Flesch-Kincaid grade level score

(11.8 * syllables_per_word) + (0.39 * words_per_sentence) - 15.59

The Flesch-Kincaid grade level translates the 100 point scale to a U.S. grade school level. So a score of 8.0 means that the document can be understood by an eighth grader. A score of 7.0 to 8.0 is considered to be optimal.

Released under the same license as Perl.

java_fathom's People

Contributors

dependabot-preview[bot] avatar ogrodnek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

java_fathom's Issues

Did part of a commit get missed?

I noticed that the last commit says "removed ivy/ant build files, updated versions", but only the version was bumped! Does the actual java code, if not the build scripts, work?

However, what I really want to do is to do readability metrics using Spark... Know anyone who has done that?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.