Apple Newton Utilities User's Guide Page 381

  • Download
  • Add to my manuals
  • Print
  • Page
    / 942
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 380
CHAPTER 10
Recognition: Advanced Topics
About Advanced Topics in Recognition 10-5
A formatted comb view utilizes a template you dene which species characteristics
of the view’s behavior or appearance. A comb view’s template may specify an
initial value for the string that the view displays, the editing characteristics for each
position in the comb view, and lters that restrict the values recognized in each of
these positions. The template may also dene methods for initializing and post-
processing the string displayed by the comb view. These methods may be useful
when the string displayed in the comb needs to be different from the input string or
when an externally-displayed string must differ from its internal representation.
When the user taps a character in a formatted comb view, it displays the list of
characters specied by its template, if that list contains ten or fewer items. (Note
that this value may change in future platforms.) Otherwise, it displays the list of
top-ranking alternate interpretations returned by the text recognizer.
Ambiguous Characters in protoCharEdit Views 10
Because there are several characters that are ambiguous in appearance—for
example, the value zero (
0) and the letter O, or the value one (1) and the letter L
the built-in system fonts provide enhanced versions of these characters that
improve their readability. However, continuous use of these characters can be
distracting to the user. Thus, these fonts contain character codes that map to
alternate versions of the ambiguous characters, and the system provides functions
for mapping between the codes for the normal and enhanced characters. For more
information, see the descriptions of the
MapAmbiguousCharacters and
UnMapAmbiguousCharacters functions under “protoCharEdit Functions and
Methods” (page 8-47) in Newton Programmers Reference.
Deferred Recognition 10
Deferred recognition is the ability to convert strokes to text at some time other
than when the strokes are rst entered on the screen. Views that are to perform
deferred recognition must be capable of capturing ink text or ink. For example, a
view that bases its
recConfig frame on the system-supplied ROM_InkOrText
frame and uses a
protoRecToggle view to congure the recognition system
need not do anything more to provide the deferred recognition feature.
This section describes the user interface to deferred recognition and then provides a
programmer’s overview of this feature.
User Interface to Deferred Recognition 10
A view that performs deferred recognition uses the same settings as it would for
real-time text recognition: a combination of settings specied by user preferences
and settings specied by the view ags or
recConfig frame associated with the
view in which recognition takes place.
Page view 380
1 2 ... 376 377 378 379 380 381 382 383 384 385 386 ... 941 942

Comments to this Manuals

No comments