PoePy: A Python library for handling annotated rhymes.
Usage example, retrieve a set of poems and calculate initial statistics:
>>> from poepy import *
>>> poe = Poems(poepy_path('data', 'Wang1980.tsv'))
>>> poe.stats()
Poems: 295
Stanzas: 1180
Lines: 7285
Rhyme words: 5271
Rhymes: 1746
Words: 29503
Compare two collections of poems for rhyme annotations:
>>> from poepy import *
>>> poe1 = Poems(poepy_path('data', 'Wang1980.tsv'))
>>> poe2 = Poems(poepy_path('data', 'Baxter1992.tsv'))
>>> diffs = poe1.compare(poe2, '*')
0.8364485981308412 895 1070
*************************
* bcubes -Scores *
* --------------------- *
* Precision: 0.9855 *
* Recall: 0.9666 *
* F-Scores: 0.9715 *
*************************'
1070 1142 1180
Release files for poepy 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| poepy-0.2.0.tar.gz | 451.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poepy-0.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 908.6 kB
Release files / poepy-0.2.0.tar.gz
| Download URL | poepy-0.2.0.tar.gz |
|---|---|
| Size | 451.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a06767ac91cf96b1ee63a19829a1d872bf6d6d003fcbf66b04f0b21295cc3afe
|
|
BLAKE2b-256 checksum How to use checksums |
50404d61c9975f4e201209ca77918ac2e55c062106a6a8b2edd598639ba05d50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.5.2
|
Release files / poepy-0.2.0-py2.py3-none-any.whl
| Download URL | poepy-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 457.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ddd30399da1a7d50ddfcb923795df2b1b19b7e17d7946e4ce34d239daba3211d
|
|
BLAKE2b-256 checksum How to use checksums |
eefb80abd16a73024b22447d14e8209f4160b099dbc2695b986eb7933c812b40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.5.2
|