JevMade hello@JevMade.com
← Back to guides

JevMade field notes / Worked example

Fix broken sentences and recover lost formatting in text files

This guide explains how to fix broken sentences and identify headings in a damaged text file. The approach labels the text parts instead of asking software to rewrite the whole document.

Original by TypeSafe AIExtraction

Listen to this guide

JevMade’s plain-English explanation

0:00 /

AI narration

Credits

“Structure recovery” by TypeSafe AI. Read the original source.

This expanded guide is an AI-narrated adaptation prepared by JevMade. It expands the source’s essential ideas, examples and caveats in JevMade’s own words and is not a word-for-word reading. The synthetic voice does not imitate the author or imply their endorsement.

Our summary

The author tests a way to rebuild the layout of a plain text memo that lost its formatting. Someone would use this to automatically fix broken sentences and identify headings, lists, or warnings in damaged files without retyping everything manually.

The process first asks an AI assistant to check if sentences are split across lines and joins them together. Then, it uses Jev—an AI tool that chooses from options rather than writing an answer—to label each block as a heading or list.

This method helps people sort through messy text files, but it only offers an informed guess. The recovered layout does not guarantee the original document looked exactly like this. A person must check uncertain sections before accepting the final formatting.

Key takeaways

  1. Fix broken sentences and join lines together before trying to identify the document parts.
  2. Ask the software to label text sections instead of having it rewrite the entire damaged document.
  3. Always ask a person to review uncertain text blocks before accepting the recovered layout.

The final output is an informed guess, not a guarantee that the original document had exactly these boundaries.

TypeSafe cookbook · Source reviewed

Read the original guide Opens the author’s site in a new tab.