The illustrated implementation provides reasonably accurate matching capability when the target gesture and the gesture-based data structure both represent handwriting that is stylistically similar in features such as letter shapes and connectivity, and stroke direction.