fleschDe

0.0.3 • Public • Published

fleschDe

Detect the ease of reading a text according to the German variation of the Flesch Reading Ease Formular.

Installation

npm:

$ npm install fleschDe

Usage

var fleschDe = require('fleschDe');

/**
 * For “Einfacher Satz.” (1 sentence, 2 words,
 * 4 syllables).
 */

flesch({
    'sentence' : 1,
    'word' : 2,
    'syllable' : 4
});
// 61

/**
 * For “Der Lesbarkeitsindex Flesch-Reading-Ease, auch Flesch-Grad 
 * genannt, ist ein numerischer Wert für die Lesbarkeit.” (1 sentence, 13 words,
 * 30 syllables).
 */

flesch({
    'sentence' : 1,
    'word' : 13,
    'syllable' : 30
});
// 32

License

MIT

Modification based on flesch from Titus Wormer

Package Sidebar

Install

npm i fleschDe

Weekly Downloads

1

Version

0.0.3

License

MIT

Last publish

Collaborators

  • dnlvgl