mirror of
https://github.com/laosb/ReadabilityFramework.git
synced 2025-04-30 20:51:10 +00:00
fix: CLI formula.
This commit is contained in:
parent
f4761a4c2c
commit
532dc89868
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,6 @@ public struct RAColemanLiauIndexScorer: RAScorer {
|
|||
let l = metrics![.characterCount]! * 100 / wordCount
|
||||
let s = metrics![.sentenceCount]! * 100 / wordCount
|
||||
|
||||
let cloze = 141.8401 - (0.214590 * l) + (1.079812 * s)
|
||||
return (-27.4004 * cloze) + 23.06395
|
||||
return (0.0588 * l) - (0.296 * s) - 15.8
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue