Skip to main content

poetry_analysis

Python Version from PEP 621 TOML PyPI - Version License Github Action tests

Rule-based tool to extract repetition patterns and other lyric features from poetry, or other text data where the newline is a meaningful segment boundary.

Lyric features that can be extracted with this tool includes

  • end rhyme schemes
  • alliteration
  • anaphora
  • lyrical subject

poetry_analysis has been developed alongside NORN Poems, a corpus of Norwegian poetry from the 1890's, which is freely available to use with this tool.

Installation

This library requires python >= 3.11. Create and activate a virtual environment before installing, e.g. with uv:

# Create environment with uv
uv venv --python 3.11

# Activate environment
source .venv/bin/activate

# Install poetry_analysis
pip install poetry-analysis

Contact

This tool was developed as a collaboration project between a literary scholar and a computational linguist in the NORN project:

  • Ranveig Kvinnsland GitHub icon Email icon
  • Ingerid Dale GitHub icon Email icon

If you discover any bugs, have any questions, or suggestions for improvements, please open an issue and assign an appropriate label to it. Contributions and pull requests are also welcome! Please check out the contributing section in the repo for guidelines.

Metadata

Release files for poetry-analysis 0.3.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for poetry-analysis 0.3.15
File Size Uploaded
poetry_analysis-0.3.15.tar.gz 38.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for poetry-analysis 0.3.15
File Interpreter ABI Platform
poetry_analysis-0.3.15-py3-none-any.whl Python 3 none any Details

Total release size: 60.1 kB

Release files / poetry_analysis-0.3.15.tar.gz

Download URL poetry_analysis-0.3.15.tar.gz
Size 38.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8f2eca168658ac3d41d29259e04344aadc91975ed232c4b326592974bf87caaa
BLAKE2b-256 checksum
How to use checksums
f4f95480637976021244a9c2b427f7a65dd892b5237c52d7e67f3b3249921180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.12.3 Linux/6.8.0-100-generic

Release files / poetry_analysis-0.3.15-py3-none-any.whl

Download URL poetry_analysis-0.3.15-py3-none-any.whl
Size 21.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e748111afd81124ac19507e9318743fa6318c6ffd8949a51fc5ad4eb223d500
BLAKE2b-256 checksum
How to use checksums
0a4cdea24c2c5d7d0679b2dca8acf2712d3065f7bf09ccbfbd5632de9f2b53c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.26.6 CPython/3.12.3 Linux/6.8.0-100-generic

Release history Release notifications | RSS feed

This release

0.3.15 This release

2 release files

0.3.14

2 release files

0.3.13

2 release files

0.3.12

2 release files

0.3.11

2 release files

0.3.10

2 release files

0.3.9

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page