Using AI to convert OCR-based PDF documents to EPUB