OCR and local TEI model