background image
C H A P T E R 9
Recognition
Using the Recognition System
9-21
cursive letter styles in the system's handwriting model are enabled, and the system
disables unused letter styles over time as the user corrects misrecognized words.
The default settings of the cursive recognizer in version 2.0 enable this recognizer's
letter-by-letter recognition option. Previous versions of the system disabled this
option by default, causing the cursive recognizer to return only words appearing in
the set of dictionaries available to the view performing recognition.
The
protoLetterByLetter
prototype, which appears at the lower-left corner
of the screen in the Notepad application on the MessagePad 100 and MessagePad
110, is obsolete. It has been replaced by the
protoRecToggle
prototype. For
more information, see "RecToggle Views" (page 9-18).
Prior to version 2.0 of Newton system software, correction information was not
accessible from NewtonScript. Version 2.0 of Newton system software makes this
information available as frame data. For more information, see "Correction and
Learning" (page 9-13).
Combining the
vLettersAllowed
flag with flags used to specify recognition of
numeric values (such as
vPhoneField
,
vNumbersAllowed
,
vDateField
,
vTimeField
, and
vAddressField
) produced undesirable results in system
software prior to version 2.0. System software version 2.0 supports these kinds of
view flag combinations.
Deferred recognition--the ability to convert strokes to text at some time other than
when the strokes are first entered on the screen--was introduced in Newton system
software version 1.3 with no application programming interface. Version 2.0 of
Newton system software provides a NewtonScript interface to this feature.
Using the Recognition System
9
This section describes how to use view flags to enable recognition in views. This
chapter discusses only those view flags that interact with the recognition system.
For a summary of these view flags, see "Constants" (page 9-31). For information
on other kinds of view flags, see Chapter 3, "Views." For complete descriptions of
all view flags, see Newton Programmer's Reference.
For information on the use of
recToggle
views,
recConfig
frames and advanced
features of the recognition system, see Chapter 10, "Recognition: Advanced
Topics."
Types of Views
9
The kind of view that you use to recognize input affects the amount of work you'll
have to do to support recognition. Views based on the
clEditView
class handle
most recognition events automatically once you've specified their intended
© 2007-2017, o7 studio » при воспроизведении материала сайта ссылка обязательна