Skip to content

Automated Readability Index, Flesch-Kincaid, Gunning-Fog, SMOG Index, Fry, Coleman-Liau

Notifications You must be signed in to change notification settings

filipecorrea/readability

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readability

Automated Readability Index, Flesch-Kincaid (ease/level), Gunning-Fog, SMOG Index, Coleman-Liau

Examples

> const testPhrase = 'No kidding - Lorenzo called off his trip to visit Mexico City just because they told him the conquistadores were extinct.';
> Readability.automatedReadability(testPhrase);
11.274285714285718
> Readability.smog(testPhrase);
10.065306667255596
> Readability.gunningFog(testPhrase);
14.114285714285714
> Readability.colemanLiau(testPhrase);
11.952857142857141
> Readability.fleschKincaid(testPhrase);
{ ease: 52.57714285714289, gradeLevel: 11.142857142857142 }

About

Automated Readability Index, Flesch-Kincaid, Gunning-Fog, SMOG Index, Fry, Coleman-Liau

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 50.9%
  • JavaScript 49.1%