Apple Newton Utilities Guide de l'utilisateur Page 429

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 942
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 428
CHAPTER 10
Recognition: Advanced Topics
Summary of Advanced Topics in Recognition 10-53
ProtoWordInfo 10
aWordInfoFrame :=
{
// ID of view that owns this data; returned by GetViewID
id: int,
// first char’s offset into clParagraphView view
Start: int,
// last char’s offset into clParagraphView view
Stop: int,
flags: forSystemUseOnly, // do not use this slot
unitID: forSystemUseOnly, // do not use this slot
// array of wordInterp frames; see page 10-53
words: [wordInterp1, wordInterp2, … wordInterpN]
// stroke data from original input
strokes: strokeBundleFrame, // see page 10-49
unitData: forSystemUseOnly, // do not use this slot
// sets list of words held by this wordInfo frame
SetWords: function,
// returns array of strings held by wordInterp frames
GetWords: function,
// Adds first word in this word list to auto-add and user dicts
AutoAdd: function,
// Removes first word in this list from auto-add and user dicts
AutoRemove: function,
}
protoWordInterp 10
aWordInterpFrame :=
{
// one interpretation of input strokes
word: string,
// recognizer’s confidence in this interpretation
score: int, // 0 is good score, 1000 is bad score
// dictionary id of recognized word
label: int, // internal use only
// this word’s rank in orig list of interpretations
index:int, // internal use only
}
Vue de la page 428
1 2 ... 424 425 426 427 428 429 430 431 432 433 434 ... 941 942

Commentaires sur ces manuels

Pas de commentaire