Reformatter / Translator

AI-powered tool for reformatting OCRed books and translating them using Venice AI API (you can alternatively use different API that is OpenAI compatible, even local models). This tool processes OCRed text to fix formatting issues and recognition errors, and optionally translates the content.

https://github.com/jooray/reformatter-translator

Reply to this note

Please Login to reply.

Discussion

I'm reading an ai translated book to my daughter. The consistency is not great and the ai did a poor job using simpler terms. I asked it to convert the language for the vocabulary of 8yos. Ideally I'd also shorten the book in the process.

Edit the prompts in the config, should be doable. But consistency might be a problem. I am reading a book translated from spanish (not by this script, but DeepL) and it is not clear to the AI model if a man or a woman is speaking.

I might try my own script!