Actions other than words
Having written a sentence or two, maybe you want to speak it all to someone.
Or re-speak it.
Or maybe you want to delete everything and start again.
Or access other special functions such as quickly saying "yes" or "no".
These special actions can be accessed in two ways.
-
Using just short presses within the "forward" tree.
When you are
navigating into the dictionary, special words can be selected to
access special functions. For example, in the prototype, the word
"MENU" is placed at the top of the dictionary, before the
punctuation. If this word is selected, the whole sentence is spoken,
and a fresh sentence is started. If MENU is selected again, the
latest sentence is repeated.
-
Using long presses, outside the tree.
When you are at the start of writing a word, the action "undo" (The 9
key in the linux prototype) has no role in writing words. So we can
put special functions into this action. A single press of 9 takes
you into an alternative writing mode in which "0" and "-" produce the
words "yes" and "no" respectively, immediately, and loud. From yes/no
mode, pressing "=" takes you back to whereever you were, in the
middle of writing a sentence, say. From yes/no mode, another press
of "9" (i.e. a long press of the earlier button) takes you into the
"speak it and delete it all" state. From this state, if you press "0"
everything in the present written text will be spoken, then the
buffer will be cleared. Pressing "=" takes you back to the "yes/no
mode" without doing anything. If you press anything else (eg 1) then
the buffer will be cleared.
The VIDasher state diagram summarises
this tacked-on state-space for VIDasher.
Example dictionary manufacture
cat polite phrases words alphabet \
radiospell numbers generaldict | sort > gdict2a
cat punctuation gdict2a > gdict2
How to use vidasher to communicate silently:
demo2.p mydict=gdict2 talk=0
Silent except when you want to speak sentences:
demo2.p mydict=gdict2 talk=1
Talking all the time, every word boundary
demo2.p mydict=gdict2 talk=2
Comparison of VIDasher with `telephone-pad' methods
One way to communicate with a small number of buttons is
to overload the buttons with characters, press each button once
only, and use dictionary-based disambiguation
to identify the required word when finished.
Systems that use this method include "predictive text" on Nokia phones,
also known as T9, and iTap on Motorola phones.
A T9-like system uses a total of 14 buttons: 8 alphabet buttons labelled
ABC, DEF, GHI, JKL, MNO, PQRS, TUV, and WXYZ;
and 6 keys labelled `space', 'next', `delete', `menu', `punctuation', and '#'.
The space and next keys are essential to the writing process: space is used to
accept a word, and next is used to cycle to the next viable word in the dictionary.
The delete key is required only if the user makes mistakes.
The menu key allows the user to exit the writing mode and send the written message.
The punctuation key is used to obtain characters such as "." and "'".
The "#" key is used to switch to an alternative mode allowing numerals to be
entered.
We can reduce the number of buttons in two ways:
first, we can increase the number of characters per alphabet key and
thus reduce the number of alphabet keys;
second, we can encode the 14 or so keys of the telephone-pad method
into the actions of a smaller number of buttons, say two or three; these driver-buttons
access the the original keys by a binary tree or a scanning method.
Here is a 7-key alternative to the standard 8-key alphabet layout.
(rule 72) T7b
[ABCD] 000
[EFGH] 001
[IJKLM] 010
[NOP] 011
[QRS] 100
[TUV] 101
[WXYZ] 110 (This leaves the sequence 111 available
for accessing other actions such as next, space, and delete)
Here is a 6-key alternative.
(rule 694) T6b
[ABCD] 000
[EFGH] 001
[IJKL] 010
[MNO] 011
[PQRS] 100
[TUVWXYZ] 101
(110 and 111 are available for delete and for
accessing next, space, etc)
Here is a 3-key alternative.
(rule 33) T3b
[ABCDEF] 00
[GHIJKLMN] 01
[OPQRSTUVWXYZ] 10
(11 is used to access actions such as next, space, and delete)
Another 3-key alternative that performs well and relates to the QWERTY keyboard
(as indicated to the right) is
(rule 313) T3b | 00 01 10
[QWEASDZXC] 00 | QWE RTYU IOP
[RTYUFGHVB] 01 | ASD FGH JKL
[IOPJKLNM] 10 | ZXC VB NM
(11 is used to access actions such as next, space, and delete)
I have computed the number of button presses per character required to
enter the text in two corpora using these layouts, with and without
binary front-ends, and compared these numbers with the number of
button presses for the VIDasher system.
In these tests, I used no punctuation or numerals at all.
When implementing the telephone-pad systems, I personalized them,
choosing the order of words in the dictionary to be optimal for the
test texts.
The following tables list presses per character. The number of keys
used by the method is the smallest number of buttons possible for
generating the full corpus. (So keys such as delete, menu,
punctuation, and "#" have not ben counted.) Some of the systems (eg
T7b, T6b, T3b) could have built-in deletion and punctuation
capabilities, albeit in the case of T7b these would be rather
cumbersome, without needing extra buttons.
Telephone-pad Test Corpus
method -----------------------------------
------------- Emma Generaltext
------------------ ---------------
T9: (10 keys) 1.0063 1.0075
T7: (9 keys) 1.0074 1.0085
T6: (8 keys) 1.0121 1.0136
T5: (7 keys) 1.0194 1.0124
T3: (5 keys) 1.0905 1.135 (rule 33)
T3: (5 keys) 1.0881 1.134 (rule 313)
T9q: (3/4 keys) 2.625 2.67
T7b: (2 keys) 3.198 3.19
T6b: (2 keys) 3.20 3.19
T3b: (2 keys) 2.281 2.315 (rule 33)
The above figure of 1.135 shows that the "next" button
has to be pressed at an average rate of 5*.135 = 0.675 times
per word.
In the case of T3, of the 8718 words in the general dictionary,
about 5000 are involved in collisions. 1699 of them are involved
in an 8-way clash or worse. 568 of them are in 14-way collisions
or worse. I thus speculate that T3 may feel rather tiresome to use,
as sometimes long sequences of 'nexts' will be required.
For comparison, in T9, the same words have no 8-way collisions
at all. Just 35 words are involved in 5-way clashes or worse.
And the rate at which the next button must be pressed is less than
0.04 times per word.
VIDasher results
In VIDasher, the tree has to be constructed somehow. I have tried a
variety of methods for building the tree, parameterized by a set of
parameters that I won't go into. The table below lists three
methods, with the one I selected as the default listed first.
The number of keys used is 3.
The intention is that the user should personalize VIDasher with their
own vocabulary. The results in the right hand column are for a
VIDasher `personalized' to the general text but also including a full
dictionary of other words, and numerals and punctuation. The figure
1.56 button-presses per character is a good guideline figure, with the
larger figure of 1.63 being the performance that Jane Austen would get
if she failed to personalize the system. In fact, the general text has
an abnormally large vocabulary, so perhaps in typical use one could
expect performance of about 1.47 button-presses per character.
It's possible this figure could be improved a little by improving the
tree-construction method.
--------------------------------------------------
Personalization
--------------------------------------------------
Emma General_text General_text,
Tree dictionary+important_words
construction --------------------------------------------------
method Test-set
--------- ---------
1/3, 2/3, | Emma 1.41 1.63
usebiggest=1 | General 1.50 1.56 <<<
(default)
1/2, 1/2, | Emma 1.41 1.64
usebiggest=1 | General 1.55 1.55
1/2, 1/2, | Emma 1.48 1.73
usebiggest=0 | General 1.58 1.63
-------------------------------------------------
Incidentally, the more restricted one's vocabulary, the smaller the cost
of writing with VIDasher becomes.
For example, when I optimized the system for the _words_ in my `100 favourite phrases'
I found 1.03 presses per character.
We can also make VIDasher just generate exactly my `100 favourite phrases';
in this case, things are even more efficient: 0.34 presses per character.
To demonstrate this style of use,
demo2.p mydict=phrases2a
Learnability comparison
When using the telephone-pad methods, you must know how to
spell exactly (unless the disambiguating dictionary has
your favourite mis-spellings included in it).
When using the VIDasher method, you must know how to compare
the word you want, alphabetically, with words that are offered to
you. This is probably a more challenging cognitive task.
Learning is possible in the telephone-pad methods, because
you can memorize the actions required to produce each character
A, B, C... Also you can memorise which words are involved in clashes
(of, me; good, home), thus reducing the need for feedback.
Learning is also possible for VIDasher. Here the learning task
is rather larger: the user is expected gradually to memorise
the actions associated with particular words.
Changes needed to the prototype
For blind users, the main change required to VIDasher is
on the text-to-speech side. It would be great if button-presses
could interrupt the speech-synthesizer. At present, if you type
ahead on the buttons, there is a delay while the synthesizer
speaks all the intervening words.
For use in conversation, we need two audio output streams -- a loud, public
stream for finished sentences, and a quiet stream for the composer alone
to hear. I've provided hooks for these two streams in the software, but
the current system has only one actual audio output function.
Bugs
The unix "sort" function sorts strings differently from perl's cmp
operator where punctuation characters such as "_" are involved.
This may cause difficulties if that character is included in words.
itap/T9
-------
T9t
[ABC] 2 000
[DEF] 3 001
[GHI] 4 010
[JKL] 5 011
[MNO] 6 100
[PQRS] 7 101
[TUV] 8 110
[WXYZ] 9 111
A 5-key system
--------------
rule 505
[ABCD] 2
[EFGH] 3
[IJKLMN] 5
[OPQRS] 7
[TUVWXYZ] 9