The plan:
Programing language: Perl

UI:
||Definition of current word taken from gismu.txt cmavo.txt and NORALUJV.txt.
Read text.(malglico)
.i current sentence.
Unread text.
jbofi'e output for current sentence||

user interaction:

The user pasts some text into the unread text text box.
The user clicks in the unread text text box.

||The use presses the right arrow:
If the cursor is at the end of the current sentence text box then:
All of the text up to the second '.i' in the &quot;unread text&quot; text box is moved up to the &quot;current sentence&quot; text box.  http://www.lojban.org/tiki/tiki-download_wiki_attachment.php?attId=132 is used to read the text in the &quot;current sentence&quot; text box to the user.  Jbofi'e output for &quot;current sentence&quot; text box is updated.  The cursor is sent to the beginning of the &quot;current sentence&quot; text box and the default command for right arrow is executed.
Default:
The &quot;definition of current word(the next word in the &quot;current sentence&quot; text box after the cursor) taken from gismu.txt cmavo.txt and NORALUJV.txt&quot; text box is updated for the next word in the &quot;current sentence&quot; text box and the cursor is sent to the end of that word. ||
I bet you can guess what back arrow should do...