Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

cgiffard/TextStatistics.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TextStatistics.js

JavaScript port of TextStatistics.php!

I've done what I think is a reasonably faithful port. Documentation incoming! I removed a lot of the original comments during the port, but seeing as the API remained largely the same, I'll add them in shortly.

The beginning of a test suite in Mocha is here, covering cleaning the text and some cases of word and sentence counting.

Installation

Run this in the browser using a simple <script> include - or you can install for node with npm install text-statistics.

Famous! As seen in Time! (heh.)

About

Generate information about text including syllable counts and Flesch-Kincaid, Gunning-Fog, Coleman-Liau, SMOG and Automated Readability scores.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published