LibreTranslate / LibreTranslate/LTEngine
Split by lines
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 197
- Forks
- 32
- Avg merge
- 15h 37m
- Merged PRs (30d)
- 1
Description
Add support for sentence splitting. Currently text is sent to the LLM as-is, but longer texts (like documents) should be split into chunks, translated and merged back.
I propose to do what DeepL (or even Google Translate) does - break it down into lines. They translate each line separately, and if you send 20 lines for translation, you will always have 20 lines as a result.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing where input text is sent to the LLM and where the translated result is assembled; the payload does not name specific files or tests. The change is complete when longer text can be split into lines or chunks, each part translated, and the output preserves the input line count and order.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100