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.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e06a7d7f87f3899a1d28a39ffe14719537c08a6ec6d4d33fef653d69634d8f3 |
|
MD5 | 16c5d9b65abdde1c09d01c56cf5727f6 |
|
BLAKE2b-256 | 0639d0f3c42d0e70f11212d142c07f5739ebddeba0cabbe976a03c2b536c1c02 |