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.
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
prosegrinder-0.1.2.tar.gz
(25.2 kB
view hashes)
Built Distribution
Close
Hashes for prosegrinder-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb8a5282afb6d123b43afb196deaab4d31dbac456aee80b87f6d9e46f428f8fd |
|
MD5 | f3a16db7c5c6a81fd05f0700695e2b38 |
|
BLAKE2b-256 | d26d0043271084334e3536f45f7be740ba4952fa8ac70a65ef01cb36d5ec52a2 |