Calculate the readability of text using one of a variety of computed indexes
Project description
Scienco
Calculate the readability of text using one of a variety of computed indexes including:
- Flesch-Kincaid score
- Automated readability index
- Coleman-Liau index
Requirements
Python 3.8+
Installation
$ pip install scienco
Usage
>>> import scienco
>>> metrics = scienco.compute_metrics("Lorem ipsum dolor sit amet ...")
>>> metrics
Metrics(sentences=32, words=250, letters=1329, syllables=489, is_russian=False)
>>> indexes = scienco.compute_indexes(sentences=32, words=250, letters=1329, syllables=489, is_russian=False)
>>> indexes
Indexes(flesch_reading_ease_score=33.43, automated_readability_index=7.51, coleman_liau_index=11.67)
Distribution
This project is licensed under the terms of the MIT License.
Links
- Documentation: https://scienco.readable.pw
- Code: https://gitlab.com/amalchuk/scienco
- GitHub mirror: https://github.com/amalchuk/scienco
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
scienco-1.0.0.tar.gz
(6.0 kB
view hashes)