Kf. Chan et Dy. Yeung, An efficient syntactic approach to structural analysis of on-line handwritten mathematical expressions, PATT RECOG, 33(3), 2000, pp. 375-384
Machine recognition of mathematical expressions is not trivial even when al
l the individual characters and symbols in an expression can be recognized
correctly. In this paper, we propose to use definite clause grammar (DCG) a
s a formalism to define a set of replacement rules for parsing mathematical
expressions. With DCG, we are not only able to define the replacement rule
s concisely, but their definitions are also in a readily executable form. H
owever, a DCG parser is potentially inefficient due to its frequent use of
backtracking. Thus, we propose some methods here to increase the efficiency
of the parsing process. Experiments done on some commonly seen mathematica
l expressions show that our proposed methods can achieve quite satisfactory
speedup, making mathematical expression recognition more feasible for real
-world applications. (C) 2000 Pattern Recognition Society. Published by Els
evier Science Ltd. All rights reserved.