Text Trainer

TextTrainer is a program which helps you memorise poems or plain texts in your native or in some foreign language. You learn by repeatedly reading aloud texts while more and more words are hidden (i.e. replaced by "_"). This will help you learning a poem, parts of your text for a play, or basic phrases of a foreign language before you go on holiday.

Data files for TextTrainer can contain the plain text, as well as translations and pronounciation guides. Data files can be created with TextTrainer itself, or with any standard text editor.

Some example texts can be found in /usr/share/texttrainer/data, other texts can be installed via separate packages, or you can create your own.

 

Learning Native Texts

Click on any picture to enlarge.

After opening, the text will be visible in your main display.


after loading plain text
At the bottom there is a dropdown box "learning curve", where you can select how quickly you would like TextTrainer to hide words, there is a Repeat button, and there is a Next button. Pressing Repeat will re-display the text with the same amount of words hidden (but different words), Next

progress 15%

progress 94%
will advance to the next step (more words hidden). Hidden words are displayed by underscores. Clicking a hidden word

hint for a word

hint for a phrase
or marking a phrase displays it in the hint display to the left.  

Learning Foreign Language Texts

Follow all steps above. In addition, marked sections in the main display will produce hints in the hint display with translations for all languages.


translation for one word

translation for a phrase

 

Native Text Files

Files for TextTrainer are plain ASCII or utf-8 texts. Press the "New File" button in the toolbar, and then press "Edit Text" in the toolbar. TextTrainer can now be used like a normal text editor. Press the "Display" button in the toolbar to get back to normal mode.

entering plain text

 

Text Files with Translations

Text files with translations can be written in TextTrainer, or in any standard text editor.

To create a translated text file using TextTrainer, first enter the untranslated text in edit mode (see above). Press "Edit Translations" in the toolbar. Mark words or phrases in the main view, and enter their translations in the hint view. [Enter] in the hint view starts a new language. Press "Display" in the toolbar to get back to main mode.


entering translation for a marked phrase
[Enter] in the hint view starts a new language. To add a translation for a group of words, mark that group and type the translation into the left view.

marking an untranslated phrase

Translated text files can be created by any text editor. They consist of the main part -- the text -- and at the end of the untranslated text there must be a dictionary. Since grammar calculations are done on the base of this dictionary, each phrase part for which the words have a different order in the translated language must be given separately:

	Shall = Soll
	I = ich
	compare = vergleichen
	thee = Dich
	to = zu/mit
	a = ein/einer/eine
	summers = des Sommers
	day = Tag
	Shall I compare thee = Soll ich Dich vergleichen
	summers day = Sommertag
	to a summers day = mit einem Sommertag

Multiple langages are separated via "|". Please make sure all phrases are translated into the same amount of languages, and in the same order.

	summers = des Sommers | de l'été | d'estate
	day = Tag | jour | giorno