Explain like Im 5 please. Coleman-Liau Index

DISCLAIMER: I just poured my brain into text without filtering.

I wrote the readability program, looks beautiful, works, sent it in, all good.

But whats still nagging me is I dont understand the formula. More specifically, how L and S are decided.

Index = 0.0588 L - 0.296S - 15 LΒ is the average number of letters per 100 words.Β SΒ is the average number of sentences per 100 words.

Alright cool. (For simplicity) Say idk 500 letters, 100 words, 10 sentences. (Example; "hello hello hello hello hello hello hello hello hello hello. X10) My brain is telling me: L = (letters divided by words) * 100 L = (500/100) * 100 = 500 S = (sentences divided by words) * 100 S = (10/100) * 100 = 100

Alright, cool.

Only problem is i dont know WHY we are multiplying anything by 100. What are the steps in this process supposed to be?

Someone please help, i dont understand. Also im sorry if my thought process doesnt make sense.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/ERArcher
πŸ“…︎ Jun 17 2020
🚨︎ report
CS50x Week 2 Coleman-Liau index Grade appearing wrong

So basically I've been having issues with getting the correct reading Grade for the "How to Test Your Code" section

For " One fish. Two fish. Red fish. Blue fish." I get Grade 2 for when it should be Before Grade 1
For " A large class of computational problems involve the determination of properties of graphs, digraphs, integers, arrays of integers, finite families of finite sets, boolean formulas and elements of other countable domains. " I get Grade 14 when it should be Grade 16

Here is my code

#include <stdio.h>
#include <cs50.h>
#include <ctype.h>
#include <string.h>
#include <math.h>

int main(void)
{
    string t = get_string("Text: ");
    int letter = 0;
    int word = 1;
    int sentence = 0;


    for (int i= 0, n = strlen(t); i < n; i++)
    {
        if( isalpha(t[i]))
            {
                letter += 1;
            }

        if( isspace(t[i]))
            {
                word += 1;
            }

        if( t[i] == '.' || t[i] == '!' || t[i] == '?')
            {
                sentence += 1;
            }

    }



    float L = (letter/word) * 100;
    float S = (sentence/word) * 100;
    float CLI = (0.0588 * L) - (0.296 * S) - 15.8;


    int grade = (round(CLI));

    if (grade > 16)
        {
           printf("Grade 16+ \n");
        }
    else if (grade < 1)
        {
            printf("Before Grade 1 \n");
        }
    else
         printf("Grade %i \n", grade);



}
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/IronManUltron
πŸ“…︎ Jun 07 2020
🚨︎ report
Live laugh Liau
πŸ‘︎ 583
πŸ’¬︎
πŸ‘€︎ u/pezbone
πŸ“…︎ Mar 11 2021
🚨︎ report
[TB (2)-1 MTL] Coleman hits the diving buzzer beater to end the second streamable.com/ehbpio
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/switz213
πŸ“…︎ Jul 01 2021
🚨︎ report
The GOAT Ronnie Coleman weighs in
πŸ‘︎ 15k
πŸ’¬︎
πŸ“…︎ Jun 08 2021
🚨︎ report
I "painted" the Blake Coleman diving goal using Microsoft Paint
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/yelpisforsnitches
πŸ“…︎ Jul 01 2021
🚨︎ report
[POSTGAME] Montreal Canadiens @ Tampa Bay Lightning - 6/30/21 - Blake Coleman Is Superman And Vasy Is The Big Cat Edition

#Box Score

Full stats at NHL.com

##Scoreboard - Final!

Team 1 2 3 Total
MTL 0 1 0 1
TB 0 2 1 3

##Scoring

Team Goal Scorer Description Assist 1 Assist 2 Period Time
TB CIRELLI!!! (5) EV, bomb Johnson (2) Rutta (1) 2nd 6:40
MTL Suzuki (6) PP, off a Bolt 2nd 10:36
TB COLEMAN!!!! (2) EV, DIVING BUZZER BEATER Goodrow (3) McDonagh (6) 2nd 19:59.7
TB PALAT!!! (5) EV, awful turnover by the Habs 3rd 15:42

##Penalties

Team Player PIM Infraction Period Time Goal Scored During PP?
MTL Petry 2 Tripping 1st 5:29 No
MTL Byron 2 Slashing 1st 9:57 No
Both Cernak & Byron 2 Slashing & Crosschecking Combo 1st 17:27 N/A
TB McDonagh 4 High Sticking 1st 17:32 No
TB Sergachev 2 Other Guy Slipped 2nd 10:03 Yes :(
MTL Armia 2 High Sticking 2nd 16:38 No

##Shots On Goal

Team 1 2 3 Total
MTL 13 16 14 43
TB 6 7 10 23

#Next Games

Date Time Opponent TV
7/2/21 8:00 PM @ MTL NBC :(
7/5/21 8:00 PM @ MTL NBC :(
7/7/21 8:00 PM vs. MTL NBC :(
7/9/21 8:00 PM @ MTL NBC :(
7/11/21 7:00 PM vs. MTL NBC :(

#Notes

  • Man, this was quite the uneven game but the Bolts gritted it out when it mattered!

  • GO BOLTS!!!

πŸ‘︎ 159
πŸ’¬︎
πŸ‘€︎ u/RandomBoltsFan
πŸ“…︎ Jul 01 2021
🚨︎ report
Coleman Lil’ Oscar cooler (built 8/1982) reddit.com/gallery/o1jobg
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/MacTechG4
πŸ“…︎ Jun 17 2021
🚨︎ report
RWBY Bongo Cat Parody [Methos Liau-Chrones on Youtube] youtube.com/watch?v=c5DLm…
πŸ‘︎ 372
πŸ’¬︎
πŸ‘€︎ u/DocSwiss
πŸ“…︎ Dec 04 2018
🚨︎ report
NJ Rep. Coleman behind bill to decriminalize all drug possession pix11.com/news/local-news…
πŸ‘︎ 803
πŸ’¬︎
πŸ“…︎ Jun 17 2021
🚨︎ report
Blake Coleman has a history of diving goals v.redd.it/xx38a8rq0m871
πŸ‘︎ 585
πŸ’¬︎
πŸ‘€︎ u/sveitthrone
πŸ“…︎ Jul 01 2021
🚨︎ report
"Individual and shared effects of social environment and polygenic risk scores on adolescent body mass index", Coleman et al 2018 nature.com/articles/s4159…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/gwern
πŸ“…︎ Apr 20 2018
🚨︎ report
European countries with higher Human Development Index (HDI) than the USA
πŸ‘︎ 26k
πŸ’¬︎
πŸ‘€︎ u/MatiMati918
πŸ“…︎ Jul 05 2021
🚨︎ report
TIL on several late 60's recordings, prominent jazz saxophonist Ornette Coleman used his 10-year-old son to play drums, though he could have employed high-profile adult jazz drummers. He prized the child's joyful child musical curiosity over a more technically skilled adult newyorker.com/culture/cul…
πŸ‘︎ 8k
πŸ’¬︎
πŸ‘€︎ u/GregJamesDahlen
πŸ“…︎ May 28 2021
🚨︎ report
Mark Coleman on Twitter says his daughters are going to make their MMA debut soon. Yep, the same daughters he got into the cage after the Fedor fight. twitter.com/markcolemanmm…
πŸ‘︎ 156
πŸ’¬︎
πŸ‘€︎ u/DaddyVivec
πŸ“…︎ Jul 06 2021
🚨︎ report
Don't look away too fast - this is Chad L. Coleman aka Dennis 'Cutty' Wise under all that make-up
πŸ‘︎ 334
πŸ’¬︎
πŸ‘€︎ u/holaquetaltio
πŸ“…︎ Jun 30 2021
🚨︎ report
[MTL 3-(6) TB] Coleman puts it in the empty net after Caufield and Petry turn over the puck in the defensive zone streamable.com/euq5zz
πŸ‘︎ 263
πŸ’¬︎
πŸ‘€︎ u/aschwan41
πŸ“…︎ Jul 03 2021
🚨︎ report
Coleman Hughes: The Consequences of the Race & IQ Discourse with Charles Murray youtu.be/wCJFr6zB2NM
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/dzno
πŸ“…︎ Jun 27 2021
🚨︎ report
[NHL Player Safety] Florida’s Sam Bennett will have a hearing today for Boarding Tampa Bay’s Blake Coleman. twitter.com/NHLPlayerSafe…
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/StubbornLeech07
πŸ“…︎ May 17 2021
🚨︎ report
It finally happened to me. Brand new 70s Coleman 425E new in box. reddit.com/gallery/o3jdy5
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/guitargodgt
πŸ“…︎ Jun 19 2021
🚨︎ report
It’s not the first time Coleman has done something like that v.redd.it/xx38a8rq0m871
πŸ‘︎ 379
πŸ’¬︎
πŸ‘€︎ u/The_Lone_Couier
πŸ“…︎ Jul 01 2021
🚨︎ report
"We all need to come together now" - Seamus Coleman responds to Rafa Benitez appointment liverpoolecho.co.uk/sport…
πŸ‘︎ 205
πŸ’¬︎
πŸ‘€︎ u/m1kec1av
πŸ“…︎ Jul 01 2021
🚨︎ report
[Strickland] Many believe Coleman wants to go home to Dallas. twitter.com/andystricklan…
πŸ‘︎ 189
πŸ’¬︎
πŸ‘€︎ u/EarthWarping
πŸ“…︎ Jun 16 2021
🚨︎ report
Coleman 220K 1983 Thrift Store Find
πŸ‘︎ 561
πŸ’¬︎
πŸ‘€︎ u/ScioTelumTuum
πŸ“…︎ Jun 29 2021
🚨︎ report
[FLA-TB] Final 20 seconds (Maroon 2+10 Cross-checking, Coleman 2 - Roughing, Montour 2 - Cross-checking) streamable.com/fr6awr
πŸ‘︎ 383
πŸ’¬︎
πŸ‘€︎ u/aschwan41
πŸ“…︎ May 25 2021
🚨︎ report
[MTL-TB] Coleman is injured as he misses on a check on Edmundson and crashes hard into the boards streamable.com/qotvsn
πŸ‘︎ 192
πŸ’¬︎
πŸ‘€︎ u/aschwan41
πŸ“…︎ Jul 03 2021
🚨︎ report
Florida’s Sam Bennett has been suspended for one game for Boarding Tampa Bay’s Blake Coleman. nhl.com/video/bennett-sus…
πŸ‘︎ 1k
πŸ’¬︎
πŸ‘€︎ u/chiasmatic
πŸ“…︎ May 17 2021
🚨︎ report
Recently picked up this 1974 Coleman 425E499 stove for $25. It's very clean in my opinion!
πŸ‘︎ 969
πŸ’¬︎
πŸ‘€︎ u/KronosMaximus
πŸ“…︎ Jun 10 2021
🚨︎ report
[TB (2)-0 MTL] Coleman wrists a shot past Price after a Gallagher turnover to double the lead for Tampa streamable.com/a0yys3
πŸ‘︎ 172
πŸ’¬︎
πŸ‘€︎ u/aschwan41
πŸ“…︎ Jun 29 2021
🚨︎ report
Bought an old Coleman Stove off Craigslist that I'm certain has never been used. I've never used a white gas stove before and the manual says not to over fill the tank, but doesn't indicate a fill line or capacity estimate. How do I know when it's appropriately filled?
πŸ‘︎ 262
πŸ’¬︎
πŸ‘€︎ u/MartianOddity
πŸ“…︎ Jun 15 2021
🚨︎ report
The Schmidt pain index was created by a guy who intentionally subjected himself to the sting / bites of 78 different species of Hymenoptera (bees, wasps, ants, etc.) in order to quantify the intensity of pain experienced.
πŸ‘︎ 44k
πŸ’¬︎
πŸ‘€︎ u/Xeroberts
πŸ“…︎ Jun 22 2021
🚨︎ report
The Coleman goal - MS Paintified by yours truly
πŸ‘︎ 372
πŸ’¬︎
πŸ‘€︎ u/yelpisforsnitches
πŸ“…︎ Jul 01 2021
🚨︎ report
Tevin Coleman scores touchdown to extend the lead to 28-3 in Super Bowl LI youtu.be/PNTNyr4H3ro
πŸ‘︎ 2k
πŸ’¬︎
πŸ‘€︎ u/legend023
πŸ“…︎ May 15 2021
🚨︎ report
Best Coleman product I ever bought - 20+ years
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/ross_the_winner
πŸ“…︎ May 26 2021
🚨︎ report
Sunday progress! Can lights cut in, butcher block trimmed and set, and cooler cubby framed. Coleman for measurement purposes only.
πŸ‘︎ 303
πŸ’¬︎
πŸ‘€︎ u/kvoththeconqurr
πŸ“…︎ Jun 20 2021
🚨︎ report
Blake Coleman

Please bring him back. That is all.

πŸ‘︎ 82
πŸ’¬︎
πŸ‘€︎ u/pucksdd
πŸ“…︎ Jul 02 2021
🚨︎ report
Coleman 228 lantern - Keeping campsites lit since 1963.
πŸ‘︎ 671
πŸ’¬︎
πŸ‘€︎ u/Giudi1md
πŸ“…︎ Jun 13 2021
🚨︎ report
[Joe Smith] Jon Cooper on why Yanni Gourde line with Goodrow and Coleman is so effective: β€œThey don't give a rat's ass who they're playing against." twitter.com/joesmithtb/st…
πŸ‘︎ 239
πŸ’¬︎
πŸ‘€︎ u/AprilTowers
πŸ“…︎ Jun 25 2021
🚨︎ report
#8 (Coleman Engle) Watch out for rips at your local beach. Anyone to get stuck in regardless of ability. Always swim parallel to the shore if you do get stuck in one. Swim in between the flags
πŸ‘︎ 3k
πŸ’¬︎
πŸ‘€︎ u/Ajit-Pajouhesh
πŸ“…︎ Jun 04 2021
🚨︎ report
Amazing diving Coleman goal(s)! twitter.com/NHLGIFs/statu…
πŸ‘︎ 108
πŸ’¬︎
πŸ‘€︎ u/JFreader
πŸ“…︎ Jul 01 2021
🚨︎ report
The COLEMAN signs at O’Connell Bridge have finally been removed
πŸ‘︎ 261
πŸ’¬︎
πŸ‘€︎ u/octavioletdub
πŸ“…︎ Jun 11 2021
🚨︎ report
This is the Coleman stove I found in a thrift store scrap bin. It came off the factory line in 1947! reddit.com/gallery/o2wwcs
πŸ‘︎ 360
πŸ’¬︎
πŸ‘€︎ u/Sojourner_Shade
πŸ“…︎ Jun 18 2021
🚨︎ report
Wish Coleman Trebor was in Clone Wars
πŸ‘︎ 4k
πŸ’¬︎
πŸ‘€︎ u/Hot-Barnacle5716
πŸ“…︎ May 23 2021
🚨︎ report
[TBL-CAR] Coleman & Foegele Unsportsmanlike Conducts at 00:00 of the 1st Period streamable.com/zhffhl
πŸ‘︎ 639
πŸ’¬︎
πŸ‘€︎ u/DallasStarsFan-SA
πŸ“…︎ Jun 05 2021
🚨︎ report
The Story of Roger Coleman

From The Atlantic:

>If you want to believe that Roger Coleman was the man who raped and murdered 19-year-old Wanda McCoy, his sister-in-law, on the night of March 10, 1981, in her small home in the coal-mining town of Longbottom, Virginia, you have to accept that Coleman managed to park his truck, ford a creek, scramble up some 300 yards of hillside, and commit the entire grisly crime in the span of 30 minutesβ€”all without leaving a single fingerprint at the crime scene or drenching himself in blood, despite slashing the victim’s carotid and jugular arteries.

>A Virginia jury convicted 22-year-old Coleman of the rape and first-degree murder of McCoy in 1982, and sentenced him to death by electrocution. For the next 10 years, Coleman and his defense attorneys strenuously protested his innocence. They cited the improbable timeline, the hostile small-town trial venue, and the lack of definitive DNA evidence. Although hairs and semen were found at the scene, testing at the time could sort them only into broad types, not conclusive matches.

>By 1992, Coleman’s crusade had evolved into the first modern death-row innocence campaign. In the days before his execution, Time magazine ran a cover story on Coleman that strongly suggested his innocence; Chris Wallace interviewed Coleman in a Nightline feature protesting the upcoming execution; and on the day Coleman was put to death, USA Today ran letters from its readers responding to a question posed by an earlier editorial solicitation: β€œDoes it worry you that innocent people might be executed?” Coleman’s case had apparently unearthed this possibility for a significant segment of the public.

>A decade after Coleman’s death, activists were still agitating for his exoneration. By 2003, when a request for posthumous testing of Coleman’s DNA against the samples found at the 1981 crime scene arrived on Virginia Governor Mark Warner’s desk, technological developments had rendered precise comparisons between scant collections of cells possible. In 2006, Warner ordered that the tests be runβ€”the first such order in American history.

>Counter to what Coleman’s supporters had suspected, the semen found in McCoy’s body belonged to the man executed for her murder. Apparently, Coleman was a liar, a rapist, a killer, and a guilty man.

ETA The relevance to MaM:

  • A person popularly believed to be innocent by the public turne
... keep reading on reddit ➑

πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/ajswdf
πŸ“…︎ Jun 09 2021
🚨︎ report
Ronnie Coleman looks like a normal guy escaping from a buff guy's shoulders.
πŸ‘︎ 8k
πŸ’¬︎
πŸ“…︎ Apr 24 2021
🚨︎ report
Thrift Store Finds Osprey Viper 3, Camelbak Mule, Sawyer Squeeze, Coleman Perfectflow, Garmin Edge 510, Magellan Explorist 310
πŸ‘︎ 262
πŸ’¬︎
πŸ‘€︎ u/lowlife9
πŸ“…︎ Jun 09 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.