|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object GraffitiExperiment
public class GraffitiExperiment
Unistroke
class. Consult the API for the Unistroke
class for
details on the recognition process (Click here).
The default parameter settings are read from a configuration file called
GraffitiExperiment.cfg
. This file is created automatically when the application is
launched for the first time. The default parameter settings may be changed through the setup
dialog. The setup parameters are as follows:
Parameter Description Participant Code Identifies the current participant. This is used in forming the names for the output data files. Also, the sd2 output data file includes a column with the participant code.
Condition Code An arbitrary code used to associate a test condition with this invocation. This parameter might be useful if the software is used in an experiment where a condition is not inherently part of the application (e.g., Gender → male, female, Input Device → gamepad, keyboard). The condition code is used in forming the name for the output data file. Also, the sd2 output data file contains a column with the condition code.
Session Code Identifies the session. Useful if testing proceeds over multiple sessions to gauge the progression of learning. Note: The setup dialog does not include an entry for "Block code". The block code is generated automatically by the software.
Number of Phrases Specifies the number of phrases presented to the participant in the current block.
Phrases File Specifies a file containing phrases of text to be presented to participants for entry. Phrases are drawn from the file at random. Typically, phrases2.txt is used. This is the phrase set published by MacKenzie and Soukoreff in 2003 (click here). The other files in the drop-down list are phrases2.txt, helloworld.txt, helloworld2.txt, quickbrownfox.txt, phrases.txt, phrases100.txt, vowells.txt, and alphabet.txt.
Entry Mode Specifies the stroke alphabet Although the software is primarily intended for Graffiti evaluations, three other modes are supported:
Details on defining a custom set of strokes are found in the API for the
Unistroke
class.
Show Gesture Set A checkbox item that determines whether or not an image showing the gesture set is shown in the experiment UI (see below).
After clicking "Begin", a phrase is selected at random from the phrase set and displayed in the top text field. Timing begins at the beginning of the first stroke. Below is a screen snap of the experiment dialog after some user input:
The user enters the phrase, stroke by stroke. Entry continues until the user clicks "Enter". Timing is stopped when "Enter" is clicked. Results of the text entry process appear in a popup dialog after each phrase. Below is an example:
Although it is not apparent in the popup dialog above, a number of errors were committed which were then corrected. This is revealed in the high KSPC value (KSPC = 1.5). The exact nature of the errors may be investigated by examining the output data files or through a special trace utility (see below).
Example data files follow:
The data in the sd2 file are full-precision, comma-delimited. Importing into a spreadsheet application provides a convenient method to examine the data on a phrase-by-phrase basis. Below is an example of how the data might look after importing into Microsoft Excel: (click to enlarge)
Click here to open the spreadsheet.
Actual output files use "GraffitiExperiment" as the base filename. This is followed by the
participant code, the mode, the condition code, the session code, and the block code, for
example, GraffitiExperiment-P99-GR-CC-S01-B01.sd1
("GR" = Graffiti mode).
Constructor Summary | |
---|---|
GraffitiExperiment()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraffitiExperiment()
Method Detail |
---|
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |