Translator
This tool will assist you in learning a language through the parallel reading method.
Install / Use
/learn @fosimus/TranslatorREADME
Translator
This tool will assist you in learning a language through the parallel reading method. Translator will translate the book following a specific structure: one sentence in the original language, promptly followed by a translation into your chosen language. This way, you won't need to spend time translating each word separately. Additionally, numerous words and phrases have various translations based on context, which is lacking when translating individual words, but is taken into account when you translate the entire sentence – precisely what this tool does.
Restrictions
- Currently only
.epubbook format is supported. - There is a limit on the number of translations depending on the engine (check sites: Google, Yandex, Libre and DeepL).
Getting started
yarn
Update config file:
export default {
from: "en",
to: "sv",
// test.epub book exists in the repo as an example
input: "./test.epub",
output: "./book.epub",
};
yarn start
⠹ In progress...
⠹ In progress... Zipping temp dir to ./book.epub
⠸ In progress... Done zipping, clearing temp dir...
Done
✨ Done in 1.42s.
Example
Here you can see the final result with translation from Swedish to English.
<img src="./img/exampel.png" width="350">Engine
The tool uses translate package which supports several translation services: Google (default), Yandex, Libre or DeepL.
Related Skills
proje
Interactive vocabulary learning platform with smart flashcards and spaced repetition for effective language acquisition.
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
research_rules
Research & Verification Rules Quote Verification Protocol Primary Task "Make sure that the quote is relevant to the chapter and so you we want to make sure that we want to have it identifie
