History: lojread

Preview of version: 5

Goal:
when someone is just learning a language, they end up looking up words a-lot. A dictionary is just not the right tool for looking up a list of words, but what is? This tool will be provided with some lojban text by the user, and will help the user read it in several ways.
1 It will read each sentence out loud to the user.
2 It will teach sentence structure by providing the user with jbofi'e output for each sentence in the provided text.
3 It will display the definition for each word in the text as the user reads.
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:


To be aided in reading a piece of lojban text, the user would paste some lojban text into 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 "unread text" text box is moved up to the "current sentence" text box. http://www.lojban.org/tiki/tiki-download_wiki_attachment.php?attId=132 is used to read the text in the "current sentence" text box to the user. Jbofi'e output for "current sentence" text box is updated. The cursor is sent to the beginning of the "current sentence" text box and the default command for right arrow is executed.
Default:
The "definition of current word(the next word in the "current sentence" text box after the cursor) taken from gismu.txt cmavo.txt and NORALUJV.txt" text box is updated for the next word in the "current sentence" text box and the cursor is sent to the end of that word.

I bet you can guess what back arrow should do...


Notes to myself:
remember to handle la correctly...

dependencies:
perl
SDL:Sound
perl/tk

History

Information Version
Wed 15 of Nov, 2006 01:08 GMT timthelion from 71.112.110.242 11
Wed 15 of Nov, 2006 01:06 GMT timthelion from 71.112.110.242 10
Wed 15 of Nov, 2006 01:05 GMT timthelion from 71.112.110.242 9
Wed 15 of Nov, 2006 01:02 GMT timthelion from 71.112.110.242 8
Mon 07 of Aug, 2006 03:33 GMT timthelion from 71.112.110.242 7
Mon 07 of Aug, 2006 03:00 GMT timthelion from 71.112.110.242 6
Sun 06 of Aug, 2006 23:50 GMT timthelion from 71.112.110.242 5
Sat 05 of Aug, 2006 15:45 GMT timthelion from 71.112.110.242 4
Sat 05 of Aug, 2006 15:33 GMT timthelion from 71.112.110.242 3
Fri 04 of Aug, 2006 21:38 GMT timthelion from 71.112.110.242 2
Fri 04 of Aug, 2006 21:30 GMT timthelion from 71.112.110.242 1