public class RetypingRecognizer extends Object implements StrokeRecognizer
| Constructor and Description |
|---|
RetypingRecognizer(StrokeRecognizer llr)
Construct a filter recognizer which uses the given recognizer to
perform its low-level recognition.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAllowedType(String allowedType)
Add a type that is allowed through by this filter
recognizer.
|
void |
addAllowedType(String allowedType,
String mappedType)
Add a type that is allowed through by this filter
recognizer.
|
protected RecognitionSet |
filterTypes(RecognitionSet in)
Take a recognition set generated by the LLR and see whether or
not it contains some allowed types with non-zero confidences.
|
void |
removeAllowedType(String typeID)
Remove a type that is allowed through by this filter
recognizer.
|
RecognitionSet |
strokeCompleted(TimedStroke s)
Perform filtered recognition based on the LLR's
recognition on the stroke.
|
RecognitionSet |
strokeModified(TimedStroke s)
Perform filtered recognition based on the LLR's
recognition on the stroke.
|
RecognitionSet |
strokeStarted(TimedStroke s)
Perform filtered recognition based on the LLR's
recognition on the stroke.
|
public RetypingRecognizer(StrokeRecognizer llr)
public void addAllowedType(String allowedType, String mappedType)
public void addAllowedType(String allowedType)
protected RecognitionSet filterTypes(RecognitionSet in)
public void removeAllowedType(String typeID)
public RecognitionSet strokeCompleted(TimedStroke s)
strokeCompleted in interface StrokeRecognizerpublic RecognitionSet strokeModified(TimedStroke s)
strokeModified in interface StrokeRecognizerpublic RecognitionSet strokeStarted(TimedStroke s)
strokeStarted in interface StrokeRecognizerCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.