All Projects → words → dale-chall-formula

words / dale-chall-formula

Licence: MIT license
Formula to find the grade level according to the (revised) Dale–Chall Readability Formula (1995)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to dale-chall-formula

gunning-fog
Formula to detect the ease of reading a text according to the Gunning fog index (1952)
Stars: ✭ 16 (-38.46%)
Mutual labels:  reading, readability, ease
automated-readability
Formula to detect ease of reading according to the Automated Readability Index (1967)
Stars: ✭ 46 (+76.92%)
Mutual labels:  reading, readability, ease
flesch
Formula to detect the ease of reading a text according to Flesch Reading Ease (1975)
Stars: ✭ 25 (-3.85%)
Mutual labels:  reading, readability, ease
hast-util-reading-time
utility to estimate the reading time
Stars: ✭ 55 (+111.54%)
Mutual labels:  reading, readability
Neural-Scam-Artist
Web Scraping, Document Deduplication & GPT-2 Fine-tuning with a newly created scam dataset.
Stars: ✭ 18 (-30.77%)
Mutual labels:  readability
Book Notes
Notes from books and other interesting things that I've read. Table of contents at the end 👇
Stars: ✭ 2,636 (+10038.46%)
Mutual labels:  reading
Awesome Casestudy
📕 Curated list of technical case studies on WebGL and creative development
Stars: ✭ 2,324 (+8838.46%)
Mutual labels:  reading
Incremental Reading
Anki add-on providing incremental reading features
Stars: ✭ 164 (+530.77%)
Mutual labels:  reading
SAPC-APCA
APCA (Accessible Perceptual Contrast Algorithm) is a new method for predicting contrast for use in emerging web standards (WCAG 3) for determining readability contrast. APCA is derived form the SAPC (S-LUV Advanced Predictive Color) which is an accessibility-oriented color appearance model designed for self-illuminated displays.
Stars: ✭ 266 (+923.08%)
Mutual labels:  readability
RabbitMQ
version 3.4.2 代码阅读
Stars: ✭ 20 (-23.08%)
Mutual labels:  reading
bookwyrm
Social reading and reviewing, decentralized with ActivityPub
Stars: ✭ 1,499 (+5665.38%)
Mutual labels:  reading
notes
📓读书笔记 <Java 8 实战>
Stars: ✭ 15 (-42.31%)
Mutual labels:  reading
readable-regex
Java library for creating readable regular expressions
Stars: ✭ 24 (-7.69%)
Mutual labels:  readability
Golang Notes
Go source code analysis(zh-cn)
Stars: ✭ 3,137 (+11965.38%)
Mutual labels:  reading
codeReads
goodReads (pun intended) for coding and programming
Stars: ✭ 29 (+11.54%)
Mutual labels:  reading
Fe
前端热门文章阅读
Stars: ✭ 174 (+569.23%)
Mutual labels:  reading
awesome-reading
Notes from some books that I've read.
Stars: ✭ 43 (+65.38%)
Mutual labels:  reading
TaiwanEbookSearch
Ebook search tool mainly for Taiwan
Stars: ✭ 33 (+26.92%)
Mutual labels:  reading
readability-cli
A CLI for Mozilla Readability. Get clean, uncluttered, ready-to-read HTML from any webpage!
Stars: ✭ 41 (+57.69%)
Mutual labels:  readability
pixi-ease
pixi.js animation library using easing functions
Stars: ✭ 90 (+246.15%)
Mutual labels:  ease

dale-chall-formula

Build Coverage Downloads Size

Formula to detect the grade level of text according to the (revised) Dale–Chall readability formula.

See dale-chall for a list of words which count as “familiar”.

Install

This package is ESM only: Node 12+ is needed to use it and it must be imported instead of required.

npm:

npm install dale-chall-formula

Use

import {daleChallFormula, daleChallGradeLevel} from 'dale-chall-formula'

daleChallFormula({word: 30, sentence: 2, difficultWord: 6}) // => 4.41208

daleChallFormula({word: 30, sentence: 2}) // => 0.744

daleChallFormula() // => NaN

daleChallGradeLevel(daleChallFormula(30, 2, 6)) // => [9, 10]

API

This package exports the following identifiers: daleChallFormula, daleChallGradeLevel. There is no default export.

daleChallFormula(counts)

Given the number of words (word), the number of sentences (sentence), and the number of unique unfamiliar words in a document (difficultWord), returns the score associated with the document.

daleChallGradeLevel(score)

Given a score, returns the corresponding grade ranges

Score Corresponding Grade Level Return value
Less than 5 Grade 4 and lower [0, 4]
Less than 6 Grades 5 and 6 [5, 6]
Less than 7 Grades 7 and 8 [7, 8]
Less than 8 Grades 9 and 10 [9, 10]
Less than 9 Grades 11 and 12 [11, 12]
Less than 10 Grades 13 and 15 (College) [13, 15]
Higher Grades 16 and higher (College Graduate) [16, Infinity]

Related

  • automated-readability — Uses character count instead of error-prone syllable parser
  • coleman-liau — Uses letter count instead of an error-prone syllable parser
  • flesch — Uses syllable count
  • flesch-kincaid — Like flesch-formula, returns U.S. grade levels
  • gunning-fog — Uses syllable count, needs POS-tagging and NER
  • smog-formula — Like gunning-fog-index, without needing advanced NLP
  • spache-formula — Uses a dictionary, suited for lower reading levels

License

MIT © Titus Wormer

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].