{ "info": { "author": "Jannis Vamvas", "author_email": "jannis.vamvas@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": ".. image:: https://travis-ci.org/jvamvas/rhymediscovery.svg?branch=master\n :target: https://travis-ci.org/jvamvas/rhymediscovery\n\nrhymediscovery\n--------------\n\nA python package for detecting rhyme schemes in poetry. With standard configuration, it achieves about 65% accuracy in the `rhymedata `_ corpus.\n\nBasic usage\n===========\n\n.. code-block::\n\n pip install rhymediscovery\n\n.. code-block:: python\n\n >>> from rhymediscovery import find_schemes\n >>> find_schemes.find_schemes([['herz', 'welt', 'geld', 'schmerz'], ...])\n [(('herz', 'welt', 'geld', 'schmerz'), (1, 2, 1, 2)), ...]\n\n\nCommand line\n============\n\nThe command line tool :code:`find_schemes` expects a file formatted like the `.pgold` files in the `rhymedata `_ corpus. A sample file can be found `here in the repo `_.\n\nTo demonstrate the tool, we clone the `rhymedata `_ corpus:\n\n.. code-block::\n\n git clone https://github.com/sravanareddy/rhymedata.git\n\nThen we run:\n\n.. code-block::\n\n find_schemes rhymedata/english_gold/1415.pgold 1415.out\n\nThe :code:`1415.pgold` file from the corpus has been manually annotated with the correct rhyme schemes. Thus we can evaluate our result file using:\n\n.. code-block:: bash\n\n evaluate_schemes 1415.out rhymedata/english_gold/1415.pgold\n\n\nCredits\n=======\nThis package implements the following paper:\n\n* Sravana Reddy and Kevin Knight. \"Unsupervised discovery of rhyme schemes.\" Proceedings of ACL 2011. (`pdf `_)\n\nIt is a fork of the reference implementation by `@sravanareddy `_ which is available in its original form `here `_.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jvamvas/rhymediscovery", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rhymediscovery", "package_url": "https://pypi.org/project/rhymediscovery/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rhymediscovery/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jvamvas/rhymediscovery" }, "release_url": "https://pypi.org/project/rhymediscovery/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Unsupervised Discovery of Rhyme Schemes", "version": "0.2.1" }, "last_serial": 2162497, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "a947107641d5a3615bd0f204ab8f6a0f", "sha256": "cd5ad6be73f5e3ec8fc89c6e8b201f96310655b207bbac269c37f8e1c800b232" }, "downloads": -1, "filename": "rhymediscovery-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a947107641d5a3615bd0f204ab8f6a0f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12430, "upload_time": "2016-06-11T20:12:48", "url": "https://files.pythonhosted.org/packages/2e/ca/43f33efa03ec421b2235cff0177b7708edad32a24391d35c2405c3d2d3ac/rhymediscovery-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ba729a4d6d7b122071248516fb4d4452", "sha256": "f81ae01902a94b8a7df9231def6589a338a7a3bcf5fa7aacfb9ecbf449b78120" }, "downloads": -1, "filename": "rhymediscovery-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ba729a4d6d7b122071248516fb4d4452", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12404, "upload_time": "2016-06-11T20:15:40", "url": "https://files.pythonhosted.org/packages/a8/1a/5d17c0ee174a01d4970956a5e4b1fcd35a6ca6cbc16f8108bc014bfcc60d/rhymediscovery-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba729a4d6d7b122071248516fb4d4452", "sha256": "f81ae01902a94b8a7df9231def6589a338a7a3bcf5fa7aacfb9ecbf449b78120" }, "downloads": -1, "filename": "rhymediscovery-0.2.1.tar.gz", "has_sig": false, "md5_digest": "ba729a4d6d7b122071248516fb4d4452", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12404, "upload_time": "2016-06-11T20:15:40", "url": "https://files.pythonhosted.org/packages/a8/1a/5d17c0ee174a01d4970956a5e4b1fcd35a6ca6cbc16f8108bc014bfcc60d/rhymediscovery-0.2.1.tar.gz" } ] }