Flesch Kincaid - Readability Classifier

This is a simple implementation of the Flesch-Kincaid readability tests in Java. From Wikipedia, The Flesch/Flesch–Kincaid readability tests are readability tests designed to indicate comprehension difficulty when reading a passage of contemporary academic English.

License

License

GroupId

GroupId

com.kennycason
ArtifactId

ArtifactId

fleschkincaid
Last Version

Last Version

1.0
Release Date

Release Date

Type

Type

jar
Description

Description

Flesch Kincaid - Readability Classifier
This is a simple implementation of the Flesch-Kincaid readability tests in Java. From Wikipedia, The Flesch/Flesch–Kincaid readability tests are readability tests designed to indicate comprehension difficulty when reading a passage of contemporary academic English.
Project URL

Project URL

https://github.com/kennycason/fleschkincaid
Source Code Management

Source Code Management

https://github.com/kennycason/fleschkincaid

Download fleschkincaid

How to add to project

<!-- https://jarcasting.com/artifacts/com.kennycason/fleschkincaid/ -->
<dependency>
    <groupId>com.kennycason</groupId>
    <artifactId>fleschkincaid</artifactId>
    <version>1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.kennycason/fleschkincaid/
implementation 'com.kennycason:fleschkincaid:1.0'
// https://jarcasting.com/artifacts/com.kennycason/fleschkincaid/
implementation ("com.kennycason:fleschkincaid:1.0")
'com.kennycason:fleschkincaid:jar:1.0'
<dependency org="com.kennycason" name="fleschkincaid" rev="1.0">
  <artifact name="fleschkincaid" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.kennycason', module='fleschkincaid', version='1.0')
)
libraryDependencies += "com.kennycason" % "fleschkincaid" % "1.0"
[com.kennycason/fleschkincaid "1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
edu.stanford.nlp : stanford-corenlp jar 3.3.1
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Flesch Kincaid Index

Available on Maven Central

<dependency>
    <groupId>com.kennycason</groupId>
    <artifactId>fleschkincaid</artifactId>
    <version>1.0</version>
</dependency>

http://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_tests

Control Data:

Reading file: control/cat_in_the_hat.txt
107.98837976539589 (Actual 111)
Reading file: control/cnn_article.txt
107.98837976539589 (Actual 52)
Reading file: control/gettysburg_address.txt
62.97771223021584 (Actual 66)
Reading file: control/harry_potter.txt
59.290833333333346 (Actual 64)
Reading file: control/state_of_the_union.txt
57.22566326530614 (Actual 70)
Reading file: control/voter_preference.txt
26.881941176470626 (Actual 28.7)

Misc. data samples:

Reading file: childrens_story1.txt
90.34097487432476
Reading file: childrens_story2.txt
91.72403884214481
Reading file: childrens_story3.txt
90.77821524178391
Reading file: lawyer1.txt
13.250785714285726
Reading file: lawyer2.txt
45.1943225582686
Reading file: lawyer3.txt
36.527610029341176
Reading file: sample_textbook.txt
34.17133834586468
Reading file: sample_essay1.txt
58.32419270507856
Reading file: sample_essay2.txt
71.230389261745
Reading file: sample_essay3.txt
62.60618553523733
Reading file: sample_essay4.txt
76.48776459820613
Reading file: 4th_grade_essay1.txt
66.83645933014357
Reading file: kindergarten_essay1.txt
79.20263157894739
Reading file: kindergarten_essay2.txt
89.51692307692309
Reading file: kindergarten_essay3.txt
85.67187500000001

Versions

Version
1.0