Code Monkey home page Code Monkey logo

dalechall's Introduction

Dale.py

MPL

A quick, dirty implementation of the Dale Chall readability test for Python 2 and Python 3. This test uses data from the Dale Chall Familiar words list and the Scrabble Tournament words list to determine the difficulty of a word.

Requirements

  • Python 2.7 or Python 3 (most macOS and Linux computers come with Python preinstalled, but Python 3 is recommended)

Usage

First, download this archive or clone the repository from GitHub:

git clone https://github.com/alicerunsonfedora/dalechall

In the Terminal, run dale.py from the folder with the following arguments:

  • -i/--input: (Required) The text file containing the sample you want to analyze.

Optionally, if you want to have all of the statistics and data in a separate file:

  • -e/--export-data: The path to where you want the script to export the statistical data/words to as a JSON file.

Credits

This project is licensed under the Mozilla Public License v2.0. Details can be found in LICENSE.txt.

The following materials were used to make this calculator possible:

The example text file is an excerpt from Mozilla's magazine titled "With Great Tech Comes Great Responsibility" (PDF | Web).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.