Skip to content

Main content

Poetry Line Break Type Token Tool

Classify caller-defined poetic line-break tokens without reconstructing editorial intent.

Loading tool…

Description

Classify a poetry line-break token.

Comparative-literature annotations connect editions, passages, speakers, structural frames and count units. Literal keys and normalized lengths can support consistent records while textual meaning, translation fidelity and bibliographic authority remain matters for source-aware editorial analysis.

Classify a poetry line-break token.

When to use this tool

Use Poetry Line Break Type Token when checking a supplied literary annotation, cross-edition offset or count convention.

How to use the tool and how it works

  1. Enter token, hardBreakToken, softBreakToken. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read kind. Use the output convention below.

Classify a poetry line-break token. Require distinct hardBreakToken/softBreakToken; compare literally and return hard, soft or other.1

Input fieldMeaning and unitsAccepted input
tokenTokenRequired. Text; maximum UTF-16 length 8192.
hardBreakTokenHard Break TokenRequired. Text; maximum UTF-16 length 8192.
softBreakTokenSoft Break TokenRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
kindKindRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "token": "\n",
    "hardBreakToken": "\n",
    "softBreakToken": "↩"
  },
  "output": {
    "kind": "hard"
  }
}

Limitations and assumptions

  • This does not parse layout, infer enjambment or establish the intended poetic function of a break.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Inspect the source editions and their annotation/counting policy for substantive literary, translation or provenance conclusions.

References

  1. Calculation and input contract: comparative-literature/poetry-line-break-type-token — tool.io

Similar or alternative tools