Metadata-Version: 2.1
Name: poetry-analysis
Version: 0.3.11
Summary: Tool to parse and annotate Norwegian poetry.
Author-Email: Ingerid Dale <ingerid.dale@nb.no>
License: CC-BY-4.0
Project-URL: Repository, https://github.com/norn-uio/poetry-analysis.git
Project-URL: Issues, https://github.com/norn-uio/poetry-analysis/issues
Requires-Python: >=3.11
Requires-Dist: nb-tokenizer
Requires-Dist: pandas
Requires-Dist: convert-pa
Provides-Extra: docs
Requires-Dist: mkdocs>=1.6.1; extra == "docs"
Requires-Dist: mkdocs-material>=9.6.21; extra == "docs"
Requires-Dist: mkdocstrings>=0.30.1; extra == "docs"
Requires-Dist: mkdocstrings-python>=1.18.2; extra == "docs"
Requires-Dist: pymdown-extensions>=10.16.1; extra == "docs"
Description-Content-Type: text/markdown

# poetry-analysis

[![Release](https://img.shields.io/github/v/release/norn-uio/poetry-analysis)](https://img.shields.io/github/v/release/norn-uio/poetry-analysis)
<!--
[![Build status](https://img.shields.io/github/actions/workflow/status/norn-uio/poetry-analysis/main.yml?branch=main)](https://github.com/norn-uio/poetry-analysis/actions/workflows/main.yml?query=branch%3Amain)
[![codecov](https://codecov.io/gh/norn-uio/poetry-analysis/branch/main/graph/badge.svg)](https://codecov.io/gh/norn-uio/poetry-analysis)
[![License](https://img.shields.io/github/license/norn-uio/poetry-analysis)](https://img.shields.io/github/license/norn-uio/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

This tool was developed for the [NORN project](https://www.hf.uio.no/iln/english/research/projects/norn-norwegian-romantic-nationalisms/index.html).

It was developed alongside [NORN Poems](https://github.com/norn-uio/norn-poems), a corpus of Norwegian poetry from the 1890's, which is freely available as TEI `.xml` and plain `.txt` files.

- **Github repository**: <https://github.com/norn-uio/poetry-analysis/>
<!--  - **Documentation** <https://norn-uio.github.io/poetry-analysis/> -->

## Installation

```shell
pip install poetry-analysis
```
