beautypg.com

Apple Newton Programmer’s Newton 2.0 (for Newton 2.0) User Manual

Page 672

background image

C H A P T E R 1 8

Intelligent Assistant

18-26

Summary

System-Supplied Target Templates

18

Places

18

// list of system-supplied where_obj target templates

// system uses lexical dictionaries to match these

// templates so they do not provide lexicons

address, city, region, country, postal_code,

phone,parsed_phone, phone_tag, faxPhone, homePhone,

workPhone, carPhone, mobilePhone, beeper, places, company,

city, county, state, country, town, province

Times

18

// list of system supplied when_obj frames

// system uses lexical dictionaries to match these

// templates so they do not provide lexicons

time, date

User Objects

18

// System supplied generic target template has no lexicon

// your target templates must be based on this template

dyna_user_obj:= {

isa: 'user_obj

…}

// System supplied generic person template has no lexicon

// do not base your target templates on this template

who_obj:= {

isa: 'user_obj

…}

// System supplied generic object template has no lexicon

// do not base your target templates on this template

what_obj:= {

isa: 'user_obj

…}

// System supplied generic place template has no lexicon

// do not base your target templates on this template

where_obj:= {

isa: 'user_obj

…}