https://github.com/seandstewart/iambic
Text processing, data extraction, and rendering library for Shakespearean text.
https://github.com/seandstewart/iambic
literature literature-and-language literature-mining python shakespeare shakespeare-plays-text-dataset text text-analysis text-classification text-mining word
Last synced: 8 months ago
JSON representation
Text processing, data extraction, and rendering library for Shakespearean text.
- Host: GitHub
- URL: https://github.com/seandstewart/iambic
- Owner: seandstewart
- License: mit
- Created: 2019-06-09T23:06:49.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2023-10-17T20:37:56.000Z (about 2 years ago)
- Last Synced: 2024-04-27T02:03:21.763Z (over 1 year ago)
- Topics: literature, literature-and-language, literature-mining, python, shakespeare, shakespeare-plays-text-dataset, text, text-analysis, text-classification, text-mining, word
- Language: Python
- Homepage: https://iambic.seandstewart.io
- Size: 2.9 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
iambic: Data extraction and rendering library for Shakespearean text. :scroll:
==============================================================================
[](https://pypi.org/project/iambic/)
[](https://pypi.org/project/iambic/)
[](https://pypi.org/project/iambic/)
[](https://github.com/seandstewart/iambic)
[](https://travis-ci.org/seandstewart/iambic)
[](https://codecov.io/gh/seandstewart/iambic)
[](https://github.com/ambv/black)
[](https://app.netlify.com/sites/iambic/deploys)
Let computers do the hard work for you! `iambic` provides:
1. The most accurate method for counting lines automatically.
2. Automatically track which characters are speaking in any scene.
3. Deterministic, repeatable results, with the ability to store your
data as JSON with strictly defined schema for passing over the wire
or storing locally or in a NoSQL database between runtimes.
## Installation
In order to install the latest version, simply `pip3 install
-U iambic`.
This library requires Python 3.7 or greater.
## What is it?
`iambic` was originally envisioned as a tool for translating
Shakespearean text into actionable information, i.e.:
1. How many lines are in this particular play?
2. How many lines does a given character speak in this play?
3. Which characters speak, in which scenes and acts?
As a result of the implementation, this tool can be applied
to any body of text which adhere's to its parsing syntax.
## The Schema
The full schema specification has been written in JSON
Schema 7.0 and can be found
[here](schema.json)
## Documentation
The full documentation is available at
[iambic.seandstewart.io](https://iambic.seandstewart.io)
## How to Contribute
1. Check for open issues or open a fresh issue to start a
discussion around a feature idea or a bug.
2. Create a branch on Github for your issue or fork
[the repository](https://github.com/seandstewart/iambic)
on GitHub to start making your changes to the **master**
branch.
3. Write a test which shows that the bug was fixed or that
the feature works as expected.
4. Send a pull request and bug the maintainer until it gets
merged and published. :)