C H A P T E R 1 0
Recognition: Advanced Topics
Using Advanced Topics in Recognition
10-7
Compatibility Information
10
The
ReadDomainOptions
function is obsolete. It has been replaced by the
ReadCursiveOptions
function.
The
AddToUserDictionary
function is obsolete. It has been replaced by the
AddWord
method of the review dictionary.
Two new dictionary constants,
kMoneyOnlyDictionary
and
kNumbersOnlyDictionary
, provide access to new lexical dictionaries used for
recognizing monetary and numeric values, respectively.
Most lexical dictionaries are no longer locale-specific--aside from a few exceptions,
each lexical dictionary is used for all locales. For detailed information, see
"System-Supplied Dictionaries" (page 8-16) in Newton Programmer's Reference.
All of the dictionary information provided by previous versions of system software
is still present in version 2.0; however, certain dictionary constants now provide a
superset of the information they previously referenced, as follows:
The
kLastNamesDictionary
is obsolete. This information is now included
in the
kSharedPropersDictionary
dictionary.
The
kLocalCompaniesDictionary
constant is obsolete.This information is
now included in the
kSharedPropersDictionary
dictionary.
The
kLocalStatesAbbrevsDictionary
constant is obsolete.This
information is now included in the
kSharedPropersDictionary
dictionary.
The
kDateLexDictionary
constant is obsolete. It has been replaced by the
kLocalDateDictionary
constant.
The
kTimeLexDictionary
constant is obsolete. It has been replaced by the
kLocalTimeDictionary
constant.
The
kMoneyLexDictionary
constant is obsolete. This information is now
included in the
kLocalNumberDictionary
dictionary.
The
kNumberLexDictionary
constant is obsolete. This information is now
included in the
kLocalNumberDictionary
dictionary.
Using Advanced Topics in Recognition
10
This section describes how to provide advanced recognition behaviors. It presumes
understanding of conceptual material provided in this and other chapters. Topics
discussed here include
using
recConfig
frames to specify recognition behavior
changing the recognition behavior of views dynamically