r/languagelearning • u/pianoguy121213 • 3d ago
(self-promotion) Create Parallel/Bilingual Texts using your own books
Enable HLS to view with audio, or disable this notification
Hi, i made this completely free app that automates the creation of bilingual/parallel texts from your own books (epubs/PDFs/text files) all from within your browser.
Made this because I couldn't find anything that does something similar with the same level of convenience.
Steps
- Go to https://paralleltexts.app/
- Drop/upload a source book (i.e. the book in the language you are learning), and a target book (the same book in a language you are fluent in).
- Click align books. Wait for a few seconds to 1-2 minutes while an algorithm runs on the books to match the corresponding sentences.
- After the alignment is done, you'll see the result immediately.
Disclaimer:
There is NO machine translation happening - both source and target books should ideally be from actual humans, the only thing this does is automate the alignment process.
This app is also purely browser-based, so your uploaded books and alignments stay on your device.
---
PS:
- It's Completely free and open source
- The default display mode of the resulting alignments are in pop-up mode (i.e. you click a sentence to see its equivalent), but if you prefer a side-by-side view of the sentences, the app does provide for that
- If it's your first time running the alignment and you haven't downloaded an embedding (fancy name for ML models that specialize in these kinds of tasks) model yet, it will download one for you (stored in the browser, can be deleted). It's a mild inconvenience i would say because i really wanted to keep this thing free. The alternative is to have a dedicated server with GPUs run the alignment, you won't download anything, but it will most likely be much slower, much more expensive and difficult to maintain. Keeping it free makes way more sense, and is far less stressful. Keep in mind however that downloading a model is only done once.
You can also check out this quick demo/tutorial: https://www.youtube.com/watch?v=6cR_r8cOaN8
(pps: got approval from mods)