Skip to content

Latest commit

 

History

History
54 lines (28 loc) · 1.58 KB

README.md

File metadata and controls

54 lines (28 loc) · 1.58 KB

Text Grader

Text Grader determines the readability of a given text using Flesch-Kincaid readability tests and provides stats about the text.

NOTE: The web app is deployed on a free server which goes into sleep mode and takes about 10s for boot up, once loaded the bot will work as expected.

Demo 2

How it Works

When user inputs a text, backend performs to following.

Test 1: The Flesch Reading Ease

In the Flesch reading-ease test, higher scores indicate material that is easier to read; lower numbers mark passages that are more difficult to read.

Flesch reading-ease score (FRES):

alt text

Test 2: The Flesch Grade Level

This test presents a score as a U.S. grade level, making it easier for teachers, parents, librarians, and others to judge the readability level of various books and texts.

Flesch Grade Level test score:

alt text

Readability Tests on Wikipedia link

Setup Instructions.

  1. Clone/Fork this repo

  2. Navigate to cloned path.

  3. Setup virtual envinorment.

    pip install virtualenv

    virtualenv myenv

  4. Activate it by running & Install project requirements.

    myenv/Scripts/activate

    pip install -r requirements.txt

  5. Start Fastapi Development Server

    uvicorn main:app --debug

    or

    uvicorn main:app --reload