Readability

public class Readability

Implements various readability indexes http://code.google.com/p/panos-ipeirotis/source/browse/trunk/src/com/ipeirotis/readability/?r=2

Author:Panos Ipeirotis

Fields

characters

Integer characters

complex

Integer complex

sentences

Integer sentences

syllables

Integer syllables

words

Integer words

Constructors

Readability

public Readability(String text)

Methods

getARI

public Double getARI()

http://en.wikipedia.org/wiki/Automated_Readability_Index

Retourne:the Automated Readability Index for text

getCharacters

public Integer getCharacters()

getColemanLiau

public Double getColemanLiau()

http://en.wikipedia.org/wiki/Coleman-Liau_Index

Retourne:The Coleman-Liau_Index value for the text

getFleschKincaidGradeLevel

public Double getFleschKincaidGradeLevel()

http://en.wikipedia.org/wiki/Flesch-Kincaid_Readability_Test

Retourne:Returns the Flesch-Kincaid_Readability_Test value for the text

getFleschReadingEase

public Double getFleschReadingEase()

http://en.wikipedia.org/wiki/Flesch-Kincaid_Readability_Test

Retourne:Returns the Flesch_Reading Ease value for the text

getGunningFog

public double getGunningFog()

http://en.wikipedia.org/wiki/Gunning-Fog_Index

Retourne:the Gunning-Fog Index for text

getSMOG

public Double getSMOG()

http://en.wikipedia.org/wiki/SMOG

Retourne:Retugns the SMOG value for the text

getSMOGIndex

public Double getSMOGIndex()

http://en.wikipedia.org/wiki/SMOG_Index

Retourne:The SMOG index of the text

getSentences

public Integer getSentences()

getSyllables

public Integer getSyllables()

getWords

public Integer getWords()