FabrizioCafolla/openai-chatgpt-opentranslator

💡 [REQUEST] - Automating the translation of large text files.

pablocorezzola opened this issue · 1 comments

Summary

Would it be possible to split a text file into multiple smaller queries and have the results of all those parts merged back together to create a final translated file? Currently, if a document has a lot of text, we have to do this task manually, and when there are many parts, it becomes a really burdensome task.

Implementation PR

No response

Reference Issues

No response

Basic Example

No response

Drawbacks

No response

The criticality I find is only one, namely:

  • Splitting the file into chunks is feasible, but the problem is that it cannot be split by several characters or bytes because it might truncate words or sentences and thus alter the translation

So you would have to create rules to split the file, but I can't think of anything now, if you have ideas we can discuss it