Apple Newton Utilities Uživatelská příručka Strana 651

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 942
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 650
CHAPTER 18
Intelligent Assistant
About the Assistant 18-5
Programmer’s Overview 18
This section describes how the templates, frames and methods used by the
Assistant interact to provide services to the user.
You can think of any user operation as a set of one or more actions to complete. A
single action is represented to the Assistant by an action template. You can use
action templates supplied by the system and you can also dene your own action
templates.
Some actions require data or objects on which to operate. For example, a
phone-dialing action requires a phone number to dial. The data or object on which
an action operates is represented to the Assistant by a target template. The system
provides a variety of target templates, and you can dene your own as well.
Each action template or target template denes a set of one or more strings known
as its lexicon. In general, an action template’s
lexicon slot holds one or more
verbs, while the
lexicon slot of a target template holds one or more nouns.
When any of the words in a template’s lexicon appear in the input string passed to
the Assistant, the Assistant builds a frame based on that template. For example, the
lexicon for the built-in call_act template includes the strings "call", "ring",
and "
dial". When any of these strings appear in the Assistant’s input string, the
Assistant builds a frame based on the
call_act template. Frames created from
action templates are called action frames; frames created from target templates are
called target frames.
A task is a behavior (such as calling, printing, faxing, and so on) that is made
available to the user by the Assistant. Usually a task consists of multiple actions
and targets, although a task can be as simple as a single action having no target.
You dene a task to the Assistant by using the
RegTaskTemplate function to
register a task template with the system. A task template is like a recipe: it
species everything required to perform a particular task, including
the actions and targets required to provide a specied behavior
the behavior to provide
supporting methods and data structures
The task template must specify all of the actions and targets required to perform
the task it denes. You provide this information as an array of action templates and
target templates residing in your task template’s
signature slot. When the task
template is registered with the Assistant, all of the templates in the
signature
slot are registered as well. Once your task template is registered, the Assistant can
match user input with words in any of the lexicons of templates specied in the
task template’s
signature slot.
Zobrazit stránku 650
1 2 ... 646 647 648 649 650 651 652 653 654 655 656 ... 941 942

Komentáře k této Příručce

Žádné komentáře

LG 42LB550A manuali

Manuali dei proprietari e guide per l'utente per TV a cristalli liquidi LG 42LB550A.
We fornisce 3 manuali pdf LG 42LB550A per scaricare gratuitamente in base al tipo di documento: Manuale Utente






Più prodotti e manuali per TV a cristalli liquidi LG

Modelli Tipo di Documento
79UX340C Manuale Utente   LG 79UX340C Owner’s Manual [el] , 56 pagine
49UB8500 Manuale Utente   LG 49UB8500,105UC9 用戶指南 [el] , 56 pagine
RZ-37LZ30 Manuale Utente   LG RZ-37LZ30 Owner’s Manual, 44 pagine
49UF6300 Manuale Utente   LG 43UF6300-CD,43UF6300,49UF6300,49UF6300-CD 产品说明书, 63 pagine
55UH770T Manuale Utente   LG 55UH770T Owner's manual [en] , 41 pagine
32LJ514D Manuale Utente   LG 32LJ514D Owner’s Manual [en] , 49 pagine
55UH61700GI Manuale Utente   LG 55UH617T Owner's manual, 44 pagine
24MT49S-PZ Manuale Utente   LG 24MT49S-PZ Інструкція користувача, 34 pagine
29FU1RLD Manuale Utente   LG 29FU1RLD manuel du propriétaire, 18 pagine
49LX761H Manuale Utente   LG 49LX761H دليل المالك, 22 pagine
CT-25Q25VE Manuale Utente   LG CT-25Q25VE Owner’s Manual, 32 pagine
20LC1RB Manuale Utente    LG 20LC1RB دليل المالك, 32 pagine
29FU6RLD Manuale Utente   LG 29FU6RLD Owner's manual [en] , 8 pagine
32LB1R Manuale Utente LG 32LB1R Brukermanual, 64 pagine
L3020T Manuale Utente   LG L3020T Owner’s Manual, 41 pagine
39LN5420-TC Manuale Utente   LG 39LN5420-TC manuel du propriétaire, 41 pagine
20CD1RGE Manuale Utente   LG 20CD1RGE Owner’s Manual, 28 pagine
RT-21FD70V Manuale Utente   LG RT-21FD70V Owner’s Manual, 32 pagine
60PA6500 Manuale Utente   LG 50PA6500 Owner's manual [en] , 72 pagine
70UF7700 Manuale Utente   LG 70UF7700 Owner’s Manual [en] , 24 pagine