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

  • 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 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,
Zobrazit stránku 422
1 2 ... 418 419 420 421 422 423 424 425 426 427 428 ... 941 942

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

Žádné komentáře