Readability calculator is a simple program to estimate how skilled a reader must be to understand a piece of text. There is a large number of methods for that. The following ones are implemented in the current version of this program:
- [Flesh Reading Ease] (http://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_test#Flesch_Reading_Ease)
- [Flesh Kincaid Grade Level] (http://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_Grade_Level#Flesch.E2.80.93Kincaid_Grade_Level)
- [Coleman Liau Index] (http://en.wikipedia.org/wiki/Coleman-Liau_Index)
- [Gunning Fog Index] (http://en.wikipedia.org/wiki/Gunning-Fog_Index)
- [SMOG Index] (http://en.wikipedia.org/wiki/SMOG)
- [ARI Index] (http://en.wikipedia.org/wiki/Automated_Readability_Index)
- [LIX Index] (http://en.wikipedia.org/wiki/LI)
- [Dale-Chall Score] (http://en.wikipedia.org/wiki/Dale%E2%80%93Chall_readability_formula)
- [Pyphen] (https://github.com/Kozea/Pyphen)
> pip install pyphen
> pip install nltk
> python
> import ntlk
> nltk.download("punkt")
- Download it ([Pypi link] (https://pypi.python.org/pypi/ReadabilityCalculator/)):
> pip install ReadabilityCalculator
- Using the library:
from readcalc import readcalc
calc = readcalc.ReadCalc("This is a simple text.")
calc.get_smog_index()
> 3.1291