background image
C H A P T E R 1 0
Recognition: Advanced Topics
10-8
Using Advanced Topics in Recognition
using
protoRecToggle
views to specify recognition behavior
defining single-letter input areas within a view
accessing text correction information
using custom dictionaries for recognition
manipulating the review dictionary (includes the user dictionary, expand
dictionary, and auto-add dictionary)
using
protoCharEdit
views for correcting text
using stroke bundles
Using recConfig Frames
10
This section describes how to use a
recConfig
frame to specify a view's
recognition behavior. Note that the use of view flags is generally the best (and
simplest) way to configure views to recognize common input such as words and
shapes. You need not use a
recConfig
frame unless you require some recognition
behavior that cannot be provided using the view's
viewFlags
and
dictionaries
slots. For example, the use of a
recConfig
frame is required for
views that restrict recognition of individual characters to a specified set, or
implement customized forms of deferred recognition.
This section describes the use of
recConfig
frames for
enabling recognizers
supporting ink text
fine-tuning recognition options
specifying the dictionaries used for recognition
A
recConfig
frame can be used to specify any set of recognizers and
dictionaries, including combinations not supported by the view flag model;
however, views controlled by
recConfig
frames are subject to the same
limitations as all views that perform recognition:
The text recognizer (printed or cursive) made available to all views is determined
by the value of the
letterSetSelection
slot in the system's user
configuration data. Individual views cannot override this system-wide setting.
The system's ability to save learning data is enabled by the value of the
learningEnabledOption
slot in the system's user configuration data.
Individual views cannot override this system-wide setting.
Do not include
letterSetSelection
or
learningEnabledOption
slots in
your
recConfig
frame.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна