…is the tentative, extremely dorky,* name of my mesostic generator, which now works!
It takes either a plain text file or pasted plain text as input; strips the punctuation if you tell it to; takes the seed (spine) text that you give it; asks how many times the spine should appear; and rocks your mesostic. 😀
The result is not exactly a true mesostic – which would use a word no more times than it appears in the source text – because it can repeat a word too many times if it has to loop back through. That happens more the shorter the source text is or the more times you repeat the spine. But on the plus side, as long as it can make a mesostic with one copy of the spine (plus the first letter again), it can make as many copies as you want! For now, I’ve set a limit of 20 copies, but I can easily increase that; it’s just in case some fool tries to run the thing a million times or something. 😉
The program also handles cases where it can’t create the full mesostic pretty gracefully – instead of just throwing a nasty error, it prints a message that says it couldn’t complete the request, then prints as much of the mesostic as it was able to make. Much nicer, right?
* “P.S.” stands for “poesis spinea” – which I hope is Latin for “spiny poetry.” You know, a poem with a spine. Bad, I know. Pretend I only meant “post-script” if you must. 😉