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://amalchuk.gitlab.io/scienco
- 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.1.tar.gz
(6.0 kB
view details)
File details
Details for the file scienco-1.0.1.tar.gz
.
File metadata
- Download URL: scienco-1.0.1.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.7 Linux/5.4.109+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a73d5d9e453eb51a5a604a6dfe60b9c4fbd294b0203b28ec271b5b8329d64706 |
|
MD5 | 11c125d9b8d2b8c05d5123a4d9be115e |
|
BLAKE2b-256 | baab2571572574ead84e3f0cd026016943961dd02a25c58e8971fc243845e9ae |