Apple Newton Utilities Betriebsanweisung Seite 379

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 942
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 378
CHAPTER 10
Recognition: Advanced Topics
About Advanced Topics in Recognition 10-3
On the other hand, if the view does not supply a recConfig frame, the recognition
system builds one based on the set of view ags enabled for that view, the contents
of its
dictionaries slot (if present) and any recognition-related user preferences
that may apply. Thus, every view that performs recognition is eventually associated
with a
recConfig frame that the system uses to perform setup tasks when the
view is opened.
Note that the
recConfig frame actually used to congure recognition is the one
that the system builds, not the one that you supply. The
recConfig frame that
you supply is referenced by the
_proto slot of the recConfig frame that the
system builds.
The
recConfig frame built by the system is passed to a recognition area, which is
an object used internally by the system to describe the recognition characteristics
of one or more views. Because similar views can share an area, the use of
recognition areas minimizes the reconguration of the recognition system required
to respond to changes in views on the screen.
A small number of recognition areas are kept in a cache. You can change the
recognition behavior of a view dynamically by specifying new recognition settings
and invalidating the area cache. The next time the view accepts input, the system
builds a new recognition area reecting its currently-specied recognition behavior
and the dictionaries it is to use for recognition.
In addition to providing an efcient and exible means of conguring the
recognition system programmatically,
recConfig frames provide support for
future expansion of the recognition system. The
recConfig frame allows
applications to specify recognition congurations in a uniform way that is not
dependent on the use of any particular recognizer engine. Although the Newton
platform currently supports only its built-in recognizers, future versions of the
system may permit the use of third-party recognizer engines.
The system provides several standard
recConfig frames that can be placed in your
view’s
recConfig slot or used as a starting point for building your own
recConfig frames. For descriptions of system-supplied recConfig frames, see
“System-Supplied recCong Frames” (page 8-18) in Newton Programmers
Reference.
In summary, the recognition behavior that a view exhibits is ultimately determined
by a combination of the following values:
values inherited from the system’s user conguration data.
values in the view’s viewFlags and entryFlags slots.
values in the view’s dictionaries slot when the vCustomDictionaries
ag is set.
values specied by an optional recToggle view, which may override values
inherited from user conguration data or supply additional values.
Seitenansicht 378
1 2 ... 374 375 376 377 378 379 380 381 382 383 384 ... 941 942

Kommentare zu diesen Handbüchern

Keine Kommentare