Apple Newton Utilities Guide de l'utilisateur Page 423

  • 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 422
CHAPTER 10
Recognition: Advanced Topics
Summary of Advanced Topics in Recognition 10-47
// use custom dictionaries only
inputMask: vCustomDictionaries, // default
// dictionaries to use for recognition
dictionaries: kSymbolsDictionary, // default
// don’t enable symbols dictionary twice
inhibitSymbolsDictionary: true // default
…}
// recognize letter-by-letter instead of w/ dictionaries
ROM_rcTryLettersConfig :=
{
// do not change value of this slot
_proto: ROM_rcDefaultConfig, // default
//interpret all input strokes as a single word
letterSpaceCursiveOption: nil, // default
// recognize non-dictionary words and numbers
inputMask: vLettersAllowed+vNumbersAllowed, // default
…}
// use as-is to implement your own form of deferred recog
ROM_rcRerecognizeConfig :=
{
// use value of doTextRecognition slot
allowTextRecognition: true, // default
// text recognition enabled
doTextRecognition: true, // default
// amount of time to spend analyzing input
speedCursiveOption: 2, // default
// do not segment strokes
letterSpaceCursiveOption: nil, // default
…}
Supporting Frames Used In RecCong Frames 10
// specifies baseline info to recognizer
rcBaseInfo :=
{
// y-coordinate of the view’s baseline
// in screen coords (global coords).
base: int,
// Positive offset (in pixels) from base
// to the top of a lowercase “x”
smallHeight: int,
Vue de la page 422
1 2 ... 418 419 420 421 422 423 424 425 426 427 428 ... 941 942

Commentaires sur ces manuels

Pas de commentaire