|
Datasets
Sample datasets can be found in the [Dataset Library].
Data sets are defined in text files. Each file has "_set.txt" at the end of its name and is placed in the "sets" directory that lies alongside the Lingo: application itself. Datasets containing images and/or sounds are composed of a paired text file and a folder containing the images and/or sounds

The first line of the _set file defines query and answer names which will be displayed in the program itself. So, if you are presenting English and French words or phrases, the first line would read
English|French
Note the vertical bar (|) between the two - this character is used in this and each subsequent line to separate the paired components. Within Lingo: you may choose to present either the first or second component first as the query and the other as the answer aginst which you will compare your response. The rest of the file contains pairs of vertical-bar-separated components, one pair of components per line:
English|French
Hello|Bonjour
Goodbye|Au Revoir
Have you any apples?|Avez-vous des pommes?
You may use upper, lower or mixed case and any punctuation EXCEPT vertical bars: those are reserved for separating components.
I recommend Textpad (http://www.textpad.com/) to create and edit dataset files, though MS WordPad will also get the job done.
More complex components, including images and foreign characters, can be incorporated as in the examples.
Images are displayed at their 'natural' size, irrespective of the size of the prompt/answer window, which itself is determined by the size of your display. If this bothers those of you with exceptionally small or large displays, then you'll just have to resize the dataset images themselves until I get around to building it into the program. WinXP users can most easily do this using the free 'Image Resizer' utility. In theory at least, Unicode can be used to present physical, chemical and mathematical formulae. Screen shots of more complex subjects can be saved as GIFs and used alongside text, other images and sounds.
|