Abstract
A heuristic-based parsing algorithm for general stochastic context-free grammars is presented. The algorithm is basically a top-down parser that combines an extension of the A* search paradigm with a constraint satisfaction procedure. Heuristics are used to increase the likelihood of making a correct choice while constraint satisfaction eliminates states that cannot lead to a solution. Two simple heuristics are introduced ensuring convergence to the solution and guaranteeing the choice of the most probable parsing in the case of ambiguous grammars. A comparison of the proposed parser with J. Earley's (1986) algorithm on four different grammars is presented. The efficiency of the proposed method relies on three main aspects: guidance of the search through promising paths, pruning of the state space, based on elimination criteria, and restriction of the number of solutions encountered to the best or the n-best. The last two aspects cannot be met by Earley's algorithm.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.