Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Readability Calculator


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:

  1. [Flesh Reading Ease] (http://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_readability_test#Flesch_Reading_Ease)
  2. [Flesh Kincaid Grade Level] (http://en.wikipedia.org/wiki/Flesch%E2%80%93Kincaid_Grade_Level#Flesch.E2.80.93Kincaid_Grade_Level)
  3. [Coleman Liau Index] (http://en.wikipedia.org/wiki/Coleman-Liau_Index)
  4. [Gunning Fog Index] (http://en.wikipedia.org/wiki/Gunning-Fog_Index)
  5. [SMOG Index] (http://en.wikipedia.org/wiki/SMOG)
  6. [ARI Index] (http://en.wikipedia.org/wiki/Automated_Readability_Index)
  7. [LIX Index] (http://en.wikipedia.org/wiki/LI)
  8. [Dale-Chall Score] (http://en.wikipedia.org/wiki/Dale%E2%80%93Chall_readability_formula)

Dependencies


> pip install pyphen
> pip install nltk
> python
> import ntlk
> nltk.download("punkt")

Using


  1. Download it ([Pypi link] (https://pypi.python.org/pypi/ReadabilityCalculator/)):
> pip install ReadabilityCalculator
  1. Using the library:
from readcalc import readcalc
calc = readcalc.ReadCalc("This is a simple text.")
calc.get_smog_index()
> 3.1291

About

A set of procedures to estimate the readability of a text

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.