{"repo":"clearnote01/readability","free":true,"listed":false,"github":"https://github.com/clearnote01/readability","clone":"git clone https://github.com/clearnote01/readability.git","description":"npm package to calculate readability statistics of a text object - paragraphs, sentences, articles.","language":"JavaScript","stars":81,"topics":["text","analytics","statistics","readability"],"license":"MIT","category":"analytics","readme_excerpt":"text-readability npm package to calculate statistics from text to determine readability, complexity and grade level of a particular corpus. A rewrite of textstat library in JS Usage install required packages with npm install text-readability The argument (text) for all the defined functions remains the same - i.e the text for which statistics need to be calculated. Install using npm List of Functions Syllable Count Returns the number of syllables present in the given text. Uses the npm module syllable for syllable calculation. lang currently only used for proper lowercasing Should be passed to syllable or write own library for this Lexicon Count Calculates the number of words present in the text. Optional removePunctuation specifies whether we need to take punctuation symbols into account while counting lexicons. Default value is true , which removes the punctuation before counting lexicon items. Sentence Count Returns the number of sentences present in the given text. The Flesch Reading Ease formula Returns the Flesch Reading Ease Score. The following table can be helpful to assess the ease of readability in a document. The table is an example of values. While the maximum score is 121.22, there is no limit on how low the score can be. A negative score is valid. Score Difficulty ------- ------------------- 90-100 Very Easy 80-89 Easy 70-79 Fairly Easy 60-69 Standard 50-59 Fairly Difficult 30-49 Difficult 0-29 Very Confusing Further reading on Wikipedia The Flesch-Kincaid Grad","default_branch":null,"files":null,"tree":[],"storefront":"/r/clearnote01","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/clearnote01/readability/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}