Sentence Disambiguation By A Shift-Reduce Parsing Technique


Shieber, S. M. (1983, June). Sentence disambiguation by a shift-reduce parsing technique. In 21st Annual Meeting of the Association for Computational Linguistics (pp. 113-118).


Native speakers of English show definite and consistent preferences for certain readings of syntactically ambiguous sentences. A user of a natural-language-processing system would naturally expect it to reflect the same preferences. Thus, such systems must model in some way the linguistic performance as well as the linguistic competence of the native speaker.

We have developed a parsing algorithm–a variant of the LALR(1) shift-reduce algorithm–that models the preference behavior of native speakers for a range of syntactic preference phenomena reported in the psycholinguistic literature, including the recent data on lexical preferences. The algorithm yields the preferred parse deterministically, without building multiple parse trees and choosing among them. As a side effect, it displays appropriate behavior in processing the much discussed garden-path sentences. The parsing algorithm has been implemented and has confirmed the feasibility of our approach to the modeling of these phenomena.

Read more from SRI