Metadata-Version: 2.1
Name: new-dale-chall-readability
Version: 1.0.4
Summary: An implementation of the New Dale-Chall readability formula which strictly follows the specification.
Home-page: https://github.com/public-law/new-dale-chall-readability
License: MIT
Keywords: nlp,readability,dale-chall
Author: Robb Shecter
Author-email: robb@public.law
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Topic :: Text Processing :: Linguistic
Description-Content-Type: text/markdown

[![Tests and type-checks](https://github.com/public-law/new-dale-chall-readability/actions/workflows/python-app.yml/badge.svg)](https://github.com/public-law/new-dale-chall-readability/actions/workflows/python-app.yml)


# The new Dale-Chall readability formula

In a nutshell:

```python
In [1]: from new_dale_chall_readability import cloze_score, reading_level

In [2]: text = (
   ...:     'Latin for "friend of the court." It is advice formally offered '
   ...:     'to the court in a brief filed by an entity interested in, but not '
   ...:     'a party to, the case.'
   ...:     )

In [3]: cloze_score(text)
Out[3]: 42.46652

In [4]: reading_level(text)
Out[4]: '5-6'
```


An implementation that follows the specification as closely as
possible. Created by referring to a paper copy of
their most recent publication (Chall & Dale, 1995).


## References

Chall, J., & Dale, E. (1995). _Readability revisited: The new Dale-Chall readability formula_.
Brookline Books.

