TEXTCLEAN LAB 001: LINE-BREAK REPAIR FIXTURES Published: 2026-11-21 CASE 1: HARD-WRAPPED PROSE Setting: Replace line breaks with spaces A sentence was wrapped across three narrow lines. EXPECTED OUTPUT A sentence was wrapped across three narrow lines. CASE 2: BLANK-LINE PARAGRAPHS Setting: Repair PDF paragraphs First paragraph wraps onto another line. Second paragraph stays separate. EXPECTED OUTPUT First paragraph wraps onto another line. Second paragraph stays separate. CASE 3: END-OF-LINE HYPHENATION Setting: Repair PDF paragraphs and rejoin hyphenated words The para- graph continues here. EXPECTED OUTPUT The paragraph continues here. CASE 4: STRUCTURE THAT SHOULD NOT BE FLATTENED Setting: Replace line breaks with spaces - First item - Second item - Third item OBSERVED OUTPUT - First item - Second item - Third item REVIEW NOTE The output is mechanically correct for the selected setting, but it removes the list structure.