skip to main content
10.3115/980491.980564dlproceedingsArticle/Chapter ViewAbstractPublication PagesaclConference Proceedingsconference-collections
Article
Free Access

LR parsers for natural languages

Published:02 July 1984Publication History

ABSTRACT

MLR, an extended LR parser, is introduced, and its application to natural language parsing is discussed. An LR parser is a shift-reduce parser which is deterministically guided by a parsing table. A parsing table can be obtained automatically from a context-free phrase structure grammar. LR parsers cannot manage ambiguous grammars such as natural language grammars, because their parsing tables would have multiply-defined entries, which precludes deterministic parsing. MLR, however, can handle multiply-defined entries, using a dynamic programming method. When an input sentence is ambiguous, the MLR parser produces all possible parse trees without parsing any part of the input sentence more than once in the same way, despite the fact that the parser does not maintain a chart as in chart parsing. Our method also provides an elegant solution to the problem of multi-part-of-speech words such as "that". The MLR parser and its parsing table generator have been implemented at Carnegie-Mellon University.

References

  1. Aho, A. V. and Ullman, J. D. The Theory of Parsing, Translation and Compiling. Prentice-Hall, Englewood Cliffs, N. J., 1972. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Aho, A. V. and Johnson, S. C. LR parsing. Computing Surveys 6: 2: 99--124, 1974. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Aho, A. V., Johnson, S. C. and Ullman, J. D. Deterministic parsing of ambiguous grammars. Comm. ACM 18: 8: 441--452, 1975. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Aho, A. V. and Ullman, J. D. Principles of Compiler Design. Addison Wesley, 1977. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Deremer, F. L. Practical Translators for LR(k) Languages. PhD thesis, MIT, 1969.Google ScholarGoogle Scholar
  6. DeRemer, F. L. Simple LR(k) grammars. Comm. ACM 14:7: 453--460, 1971. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Gazdar, G. Phrase Structure Grammar. D. Reidel, 1982, pages 131--186.Google ScholarGoogle ScholarCross RefCross Ref
  8. Gazdar, G. Phrase Structure Grammars and Natural Language. Proceedings of the Eighth International Joint Conference on Artificial Intelligence v. 1, August, 1983.Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Inoue, K. and Fujiwara, F. On LLC(k) Parsing Method of LR(k) Grammars. Journal of Information Processing vol. 6(no. 4): pp. 206--217, 1983.Google ScholarGoogle Scholar
  10. Kaplan, R. M. A general syntactic processor. Algorithmics Press, New York, 1973, pages 193--241.Google ScholarGoogle Scholar
  11. Kay, M. The MIND system. Algorithmics Press, New York, 1973, pages 155--188.Google ScholarGoogle Scholar
  12. Shieber, S. M. Sentence Disambiguation by a Shift-Reduce Parsing Technique. Proceedings of the Eighth International Joint Conference on Artificial Intelligence v. 2, August, 1983.Google ScholarGoogle ScholarDigital LibraryDigital Library
  1. LR parsers for natural languages

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image DL Hosted proceedings
      ACL '84/COLING '84: Proceedings of the 10th International Conference on Computational Linguistics and 22nd annual meeting on Association for Computational Linguistics
      July 1984
      577 pages

      Publisher

      Association for Computational Linguistics

      United States

      Publication History

      • Published: 2 July 1984

      Qualifiers

      • Article

      Acceptance Rates

      Overall Acceptance Rate85of443submissions,19%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader