Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

predict grade-level of text #655

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

rajsanu
Copy link
Contributor

@rajsanu rajsanu commented Oct 2, 2021

What type of PR is this? (check all applicable)

  • πŸš€ Added Name
  • [yes ] ✨ Feature
  • 🌟 stared the repo
  • πŸ› Grammatical Error
  • πŸ“ Documentation Update
  • 🚩 Other

Description

I have added a file "readability.c" in the C folder of the repository. It computes the approximate grade level needed to comprehend some text. It uses Coleman-Liau index to compute the grade-level.The Coleman-Liau index of a text is designed to output what (U.S.) grade level is needed to understand the text. The formula is:

index = 0.0588 * L - 0.296 * S - 15.8

This is how the program is supposed to be executed:

$ ./readability
Text: Congratulations! Today is your day. You're off to Great Places! You're off and away!
Grade 3

Add Link of GitHub Profile

https://github.com/rajsanu

@keshavsingh4522 keshavsingh4522 merged commit 7a02572 into keshavsingh4522:master Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants