HandwritingRecognizer Class Reference

Inheritance diagram for HandwritingRecognizer:

EventHandler List of all members.

Public Member Functions

 HandwritingRecognizer ()
 Gets access to the HandwritingRecognitionService, which wraps the communication with the Handwriting Recognition Server.
void clear ()
 Clear the internal strokes storage.
abstract void contentArrived ()
void handleEvent (PenEvent event)
 Capture Ink Strokes and notify listeners on every Pen Up.
String recognizeHandwriting ()
List< String > recognizeHandwritingWithAlternatives ()
Override String toString ()

Detailed Description

Produces ASCII text from input samples. Listeners can be notified whenever we have enough text.

This software is distributed under the BSD License.

Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 28 of file HandwritingRecognizer.java.

Member Function Documentation

String recognizeHandwriting (  ) 

the top-ranked ASCII translation for the ink strokes.

Definition at line 95 of file HandwritingRecognizer.java.

References Ink.getAsXML(), and HandwritingRecognitionService.recognizeHandwriting().

Referenced by HandwritingRecognizer.recognizeHandwritingWithAlternatives().

List<String> recognizeHandwritingWithAlternatives (  ) 

a list of the top ten recognized results (including the top one, at position 0)

Definition at line 110 of file HandwritingRecognizer.java.

References HandwritingRecognitionService.getAlternatives(), and HandwritingRecognizer.recognizeHandwriting().

Referenced by CaptureApplication.retrieveAlternatives().

Override String toString (  )  [virtual]

See also:

Implements EventHandler.

Definition at line 119 of file HandwritingRecognizer.java.

The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:41 2007 for R3 Paper Toolkit by  doxygen 1.4.7