Skip to main content

Calculate the readability of text using one of a variety of computed indexes

Project description

Scienco

pipeline status coverage report latest version python requires

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

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)

Uploaded Source

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

Hashes for scienco-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a73d5d9e453eb51a5a604a6dfe60b9c4fbd294b0203b28ec271b5b8329d64706
MD5 11c125d9b8d2b8c05d5123a4d9be115e
BLAKE2b-256 baab2571572574ead84e3f0cd026016943961dd02a25c58e8971fc243845e9ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page