Skip to main content

A text analytics library for prose fiction.

Project description

Latest PyPI version Latest Travis CI build status Latest Codacy Coverage Report

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prosegrinder, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size prosegrinder-0.1.2-py2.py3-none-any.whl (14.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size prosegrinder-0.1.2.tar.gz (25.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page