parsing-algorithm
lightweight, zero-dependency Python algorithm and state-machine to clean up, segment, and format structured question chains from messy OCR, handwriting text dumps, transcripts, and LLM outputs.