The demonstration is written in Java 1.1, so it should work with many older (4.x) browsers and Java virtual machines (JVM), as well as JVMs based on Java 1.2. It has been successfully tested on a number of platforms, though your milage may vary. Basic usage is straightforward; pressing the button at the bottom of this page will launch the demonstration window. If you don't see the button, a message telling you to turn on java or use a different browser will be in its place. The demonstration program is contained in two java archives, totalling 550 kilobytes of disk space. Depending on your connection, it may take a significant time to transfer to your machine. Furthermore, it may take a few seconds to display the demonstration window once download is complete. The sections below describe in detail how the controls of the program work.
This page is not meant to be a tutorial on java, but if you know how, you may download the java archive file and run the class mit.ai.nl.graphics.Demo from within your own java environment.
The demonstration program is controlled by the following buttons and menus on the Control Bar at the top of the window.
The drawing canvas is similar to the canvas in most drawing programs. After each stroke is drawn, the program reevaluates the expression on the canvas. If the program is unable to assign a stroke to a particular symbol at a value below the Rejection Threshold then it will color the stroke in red. These strokes do not affect the final output of the program. The rejection threshold can be changed in the control bar.
If the system does not recognize a character you wrote, or you've made a mistake, you can erase the strokes in the character. This can be accomplished in one of two ways. The first is using the Delete Stroke button. The second is simply to scribble out unwanted characters. In order to ensure that your scribble gestures are recognized, make broad strokes over the stroke(s) that you would like to delete.
The expression recognition algorithm is actually quite fast on most systems. Furthermore, it stores the results of previous computations, so future evaluations can be more efficient. End-to-end performance may not be possible in real time, however, because typesetting the recognized expression can be quite slow. If your system cannot keep up with your writing, write slower, and wait for the system to finish typesetting the expression before writing the next stroke.
The other forms of output are LaTeX, a text-based markup language for typesetting documents, and MathML, an XML extension for mathematical expressions. MathML, incidentally, is not supported by the major browsers yet.
The control bar contains menus which set two parameters that effect the recognition an expression. The first of these is the Rejection Threshold. The system uses this parameter to determine whether or not to reject a stroke or set of strokes as being unrecognizable. If it is set to a low value, then most strokes will be rejected as unrecognizable. If it is set to a high value, the it will try to assign an interpretation to most strokes. If it is turned off, then the system will attempt to interpret every stroke. Rejected strokes are drawn in red.
The second engine parameter is the Combination Weighting. Without going into too much detail, the combination weighting determine how much the engine favors combine strokes into multi-stroke symbols over interpreting them as single stroke symbols. A high weighting will make it easier for multiple strokes to be combined into a single symbol, while a lower value will favor interpreting the strokes individually.
Currently, there are two set of symbol models available, those computed from a single writer and those computed from a number of writers. The multi-user models should be more reliable for most people, but they are only used on the digits, binary operators, and certain lowercase letters.
Canvas Options is a menu which can be used to select which auxillary information is drawn on the canvas.
These items are provided to visualize certain aspects of the recognition algorithm, and may be turned on and off without effecting the underlying expression. By default, all of these items are turned off except Draw Symbol Boxes.
Please send comments or questions to firstname.lastname@example.org