1. A shape interpreter, comprising: a shape decomposition module for decomposing a shape into a group of subshapes, said subshapes having equivalent straight lines for curved lines; and a shape recognition module in communication with the shape decomposition module, wherein the shape decomposition module decomposes one side of a production system rule into at least one subshape belonging to one of a plurality of subshape groups.