COMPARISON OF PARSING TECHNIQUES FOR THE SYNTACTIC PATTERN RECOGNITION OF SIMPLE SHAPES