This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

rhymediscovery

A python package for detecting rhyme schemes in poetry. With standard configuration, it achieves about 65% accuracy in the rhymedata corpus.

Basic usage

pip install rhymediscovery
>>> from rhymediscovery import find_schemes
>>> find_schemes.find_schemes([['herz', 'welt', 'geld', 'schmerz'], ...])
[(('herz', 'welt', 'geld', 'schmerz'), (1, 2, 1, 2)), ...]

Command line

The command line tool find_schemes expects a file formatted like the .pgold files in the rhymedata corpus. A sample file can be found here in the repo.

To demonstrate the tool, we clone the rhymedata corpus:

git clone https://github.com/sravanareddy/rhymedata.git

Then we run:

find_schemes rhymedata/english_gold/1415.pgold 1415.out

The 1415.pgold file from the corpus has been manually annotated with the correct rhyme schemes. Thus we can evaluate our result file using:

evaluate_schemes 1415.out rhymedata/english_gold/1415.pgold

Credits

This package implements the following paper:

  • Sravana Reddy and Kevin Knight. “Unsupervised discovery of rhyme schemes.” Proceedings of ACL 2011. (pdf)

It is a fork of the reference implementation by @sravanareddy which is available in its original form here.

Release History

Release History

0.2.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
rhymediscovery-0.2.1.tar.gz (12.4 kB) Copy SHA256 Checksum SHA256 Source Jun 11, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting