Interactive Learning Visual

How the Document Classifier Works

Step-by-step visual mechanics: from 50-page PDF to instant classification.

Stage 1: Strip to Markdown & Take the Cover Slice

Why read 50 pages of holding tables when 98% of the document's legal identity is on page 1?

📑
1. Raw 50-Page PDF
Heavy, binary layout with images, fonts & tables (~150,000 chars)
📝
2. Stripped to Markdown
Pure clean plain text. Eliminates visual styling overhead
✂️
3. First 3,000 Chars Slice
Page 1 cover: contains Title, Date, ISIN, and statutory mandate
Interactive: Test Slice Length on Accuracy & Speed 3,000 characters (Optimal)
500 chars 1,500 chars 3,000 chars (★) Full Document (50k+)
Document Anatomy First 3k chars vs Rest of PDF
Cover (Kept)
49 Pages of Holdings & Tables (Discarded)
✓ Contains 98% of statutory titles & dates ✗ 50 pages of noisy accounting tables removed