Tool to parse and annotate Norwegian poetry.
Project description
poetry_analysis
- GitHub repository: https://github.com/norn-uio/poetry-analysis/
- Documentation: https://norn-uio.github.io/poetry_analysis/
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:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file poetry_analysis-0.3.15.tar.gz.
File metadata
- Download URL: poetry_analysis-0.3.15.tar.gz
- Upload date:
- Size: 38.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.6 CPython/3.12.3 Linux/6.8.0-100-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f2eca168658ac3d41d29259e04344aadc91975ed232c4b326592974bf87caaa
|
|
| MD5 |
77a61a245e6c965e27e4148a47417d0a
|
|
| BLAKE2b-256 |
f4f95480637976021244a9c2b427f7a65dd892b5237c52d7e67f3b3249921180
|
File details
Details for the file poetry_analysis-0.3.15-py3-none-any.whl.
File metadata
- Download URL: poetry_analysis-0.3.15-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: pdm/2.26.6 CPython/3.12.3 Linux/6.8.0-100-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e748111afd81124ac19507e9318743fa6318c6ffd8949a51fc5ad4eb223d500
|
|
| MD5 |
03123671b2c5b7c5697036562b9d73e0
|
|
| BLAKE2b-256 |
0a4cdea24c2c5d7d0679b2dca8acf2712d3065f7bf09ccbfbd5632de9f2b53c7
|