A text analytics library for prose fiction.
Project description
A relatively fast, functional prose text counter with readability scoring.
Installation
prosegrinder is available on PyPI. Simply install it with pip:
$ pip install prosegrinder
Usage
The main use is via the prosegrinder.Prose object.
>>> from prosegrinder import Prose >>> p = Prose("Some lengthy text that's actual prose, like a novel or article.")
The Prose object will parse everything down and compute basic staticstics, including word count, sentence count, paragraph count, syllable count, point of view, dialogue, narrative, and a set of readabilit scores. All objects and attributes should be treated as immutable.
I know this isn’t great documentation, but it should be enough to get you going.
Readbility scores
The set of scores automatically calculated:
Automated Readability Index
Coleman Liau Index
Flesch Kincaid Grade Level
Flesch Reading Ease
Gunning Fog Index
Linsear Write
LIX
RIX
SMOG
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for prosegrinder-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9fbe70de87a2bdfadec7618a88d6276e9b4e558226722c47f374c9dc3456ec8 |
|
MD5 | 95fe0b0ae2acf749840c9053c180470b |
|
BLAKE2b-256 | 611bb6b12e68169c702290ccb98ef4bc15640ab1e804c718e7aebac058ca4c7d |