|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.sketch.toolbox.RetypingRecognizer
public class RetypingRecognizer
FIXME
Constructor Summary | |
---|---|
RetypingRecognizer(StrokeRecognizer llr)
Construct a filter recognizer which uses the given recognizer to perform its low-level recognition. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RetypingRecognizer(StrokeRecognizer llr)
Method Detail |
---|
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 StrokeRecognizer
public RecognitionSet strokeModified(TimedStroke s)
strokeModified
in interface StrokeRecognizer
public RecognitionSet strokeStarted(TimedStroke s)
strokeStarted
in interface StrokeRecognizer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |