This is inpv's fork of mewo2's code for performing the WaveFunctionCollapse algorithm on poems. It mashes up sentence fragments from a given corpus to produce poems with fixed metric forms.
Project description
Oisín: Wave Function Collapse for poetry
This is inpv's fork of mewo2's code for performing the WaveFunctionCollapse algorithm on poems. It mashes up sentence fragments from a given corpus to produce poems with fixed metric forms. The output can look like this:
It is named after Oisín, son of Fionn mac Cumhaill, the great poet-warrior of Irish mythology. He famously married Niamh, daughter of the sea god Manannán mac Lir, and disappeared over the waves to Tír na nÓg. Waves, poetry, etc, you get it.
The name is pronounced [ɔ'ʃiːnʲ] (ush-EEN).
Support, licensing, ongoing development
Original author (mewo2):
This is experimental code, for an experiment that I never really finished.
The code is available under the MIT license, so you can fork it, improve it, learn from it, build upon it. However, I have no interest in maintaining it as an ongoing open source project, nor in providing support for it. Pull requests will probably be either ignored or closed.
If you do make something interesting with this code, please do still let me know! I'm sorry that I can't provide any support, but I am still genuinely interested in seeing creative applications of the code.
inpv:
I plan on making this code more usable as a Python module in the future, unveiling its hidden possibilities.
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 oisin-0.1.1.tar.gz.
File metadata
- Download URL: oisin-0.1.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a5b1d702053961f08db526af8186b31874d1a0bba95a48de612d5565003d307
|
|
| MD5 |
9011f5086d9b46bda62c7ed6f3658724
|
|
| BLAKE2b-256 |
d3e20f34452b238fa742caa8af092aa38c30374d2c11ffa631b6da307e666de4
|
File details
Details for the file oisin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: oisin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
403c233d60f9bd12897ef8478d3946326afc580f331981ffaac79788101c4c2f
|
|
| MD5 |
127687e98c7dc824f1eaf6bec35f01ed
|
|
| BLAKE2b-256 |
11d518e3044bd522c3243c5ca3d2c4e4a635a54f5f50bcd6d9912c8cce06d9d2
|