CoolFace
Apppublic

nikk6174/historical-spanish-ocr

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

๐Ÿ” Historical Spanish OCR Pipeline

An interactive OCR evaluation tool for 17th-century Spanish manuscripts.

Features

  • โ€”TrOCR fine-tuned on historical Spanish text (5โ€“7% CER)
  • โ€”Rule-based correction with archaic Spanish dictionary
  • โ€”T5 post-correction trained on real TrOCR errors
  • โ€”Dynamic ground-truth alignment (Needleman-Wunsch)
  • โ€”Accent-normalised CER metric

Usage

  1. 1.Upload a full-page document image
  2. 2.Upload the ground-truth transcription (.txt, one line per text line)
  3. 3.Click "Run Analysis"

Models are automatically downloaded from Hugging Face on first use.