Linguaswap
An extensible framework for partial-immersion reading that allows foreign language vocabulary substitution in ePub-compatible eBooks for Kindle devices.
Created by Shaun Pedicini • May 2012
The Concept
The Linguaswap Substitution System (LSS) is designed as an extensible framework for partial-immersion reading. A partial-immersion system incorporates a foreign language into a reader's native language during routine activities. Rather than overwhelming you with completely foreign text, LSS strategically replaces select words and phrases with their foreign-language equivalents, allowing you to learn naturally while reading your favorite books.
This implementation focuses on the Kindle ePub module, which allows foreign language vocabulary substitution on Kindle devices. The system processes ePub or Mobi files along with a list of known vocabulary words in one or more foreign languages, selectively replacing certain words or sentences with their foreign-language equivalents, and re-exports the book ready for reading on a Kindle device.
How It Works
The Kindle preprocessor receives an ePub or Mobi file along with your customized vocabulary lists. Based on the words you already know in your target language(s), the system intelligently substitutes matching words throughout the book. This creates a personalized learning experience where you're constantly exposed to familiar foreign vocabulary in natural reading contexts.
The framework is designed to be extensible, meaning the core substitution engine can be adapted for different learning modules and reading platforms beyond just Kindle devices. However, only the Kindle ePub module is being demonstrated in this project.
Demo Video
The video below demonstrates partial language substitution applied to the book "Racing the Beam," incorporating traditional Chinese, Russian, and Spanish vocabulary. The demo showcases how seamlessly foreign language words integrate into the native English text.
Use Cases
This approach is particularly effective for:
- Maintaining vocabulary: Keep your foreign language skills sharp while reading recreationally
- Progressive learning: Gradually increase the number of substituted words as your vocabulary grows
- Multi-language learning: Simultaneously practice multiple languages in a single book
- Context-based retention: Learn words in natural reading contexts rather than isolation
Key Features
- Selective word and sentence replacement with foreign language equivalents
- Support for multiple languages (Chinese, Russian, Spanish, and more) for your on the go polyglot
- ePub and TXT file compatibility
- Customizable vocabulary lists for personalized learning
- Sophisticated context-aware substitution algorithms using natural language processing
- Extensible framework for future language learning modules