beautypg.com

Data structures 9 – Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 375

background image

C H A P T E R 9

Recognition

Summary

9-33

View Flags Enabling Lexical Dictionaries

9

Data Structures

9

Recognition-Related User Configuration Slots

9

Use the

GetUserConfig

and

SetUserConfig

global functions to access

these slots.

Constant

Value

Description

vNumbersAllowed

1 << 13

or

0x02000

Enables recognition of numbers, monetary values (for
example, $12.25), decimal points, and mathematical
signs (+ and –).

vPhoneField

1 << 18

or

0x040000

Enables recognition of phone numbers. Note that the
set of lexical dictionaries enabled by this flag varies
with the text recognizer currently in use.

vDateField

1 << 19

or

0x080000

Enables recognition of date formats (such as March
3-95), names of months, and names of days.

vTimeField

1 << 20

or

0x0100000

Enables recognition of times.

Slot name

Notes

letterSetSelection

Text recognizer in use.

learningEnabledOption

true

enables cursive learning.

letterSpaceCursiveOption

Space between stroke groups.

timeoutCursiveOption

Time between individual strokes.

speedCursiveOption

Time spent analyzing input.

letterInFieldsOption

true

enables cursive recognizer’s

letter-by-letter option in

protoLabelInputLine

views.

lettersCursiveOption

true

enables cursive recognizer’s

letter-by-letter option in built-in Names
and Dates applications’

protoLabelInputLine

views.

doAutoAdd

true

adds new words to user dictionary and

auto-add dictionary automatically.

continued