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

Using restriction to extend parsing algorithms for complex-feature-based formalisms

Published:08 July 1985Publication History

ABSTRACT

Grammar formalisms based on the encoding of grammatical information in complex-valued feature systems enjoy some currency both in linguistics and natural-language-processing research. Such formalisms can be thought of by analogy to context-free grammars as generalizing the notion of nonterminal symbol from a finite domain of atomic elements to a possibly infinite domain of directed graph structures of a certain sort. Unfortunately, in moving to an infinite nonterminal domain, standard methods of parsing may no longer be applicable to the formalism. Typically, the problem manifests itself as gross inefficiency or even nontermination of the algorithms. In this paper, we discuss a solution to the problem of extending parsing algorithms to formalisms with possibly infinite nonterminal domains, a solution based on a general technique we call restriction. As a particular example of such an extension, we present a complete, correct, terminating extension of Earley's algorithm that uses restriction to perform top-down filtering. Our implementation of this algorithm demonstrates the drastic elimination of chart edges that can be achieved by this technique. Finally, we describe further uses for the technique---including parsing other grammar formalisms, including definite-clause grammars; extending other parsing algorithms, including LR methods and syntactic preference modeling algorithms; and efficient indexing.

References

  1. Ades, A. E. and M. J. Steedman, On the order of words. Linguistics and Philosophy, 4(4):517--558, 1982.Google ScholarGoogle ScholarCross RefCross Ref
  2. Ford, M., J. Bresnan, and R. Kaplan. A competence based theory of syntactic closure. In J. Bresnan, editor, The Mental Representation of Grammatical Relations, MIT Press, Cambridge, Massachusetts, 1982.Google ScholarGoogle Scholar
  3. Gawron, J. M., J. King, J. Lamping, E. Loebner, E. A. Paulson, G. K. Pullum, I. A. Sag, and T. Wasow. Processing English with a generalized phrase structure grammar. In Proceedings of the 20th Annual Meeting of the Association for Computational Linguistics, pages 74--81, University of Toronto, Toronto, Ontario, Canada, 16--18 June 1982. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Gazdar, G., E. Klein, G. K. Pullum, and I. A. Sag. Generalized Phrase Structure Grammar. Blackwell Publishing, Oxford, England, and Harvard University Press, Cambridge, Massachusetts, 1985.Google ScholarGoogle Scholar
  5. Kaplan, R. and J. Bresnan. Lexical-functional grammar: a formal system for grammatical representation. In J. Bresnan, editor, The Mental Representation of Grammatical Relations, MIT Press, Cambridge, Massachusetts, 1983.Google ScholarGoogle Scholar
  6. Kay, M. An algorithm for compiling parsing tables from a grammar. 1980. Xerox Palo Alto Research Center. Palo Alto, California.Google ScholarGoogle Scholar
  7. Matsumoto, Y., H. Tanaka, H. Hirakawa, H. Miyoshi, and H. Yasukawa. BUP: a bottom-up parser embedded in Prolog. New Generation Computing, 1:145--158, 1983.Google ScholarGoogle ScholarCross RefCross Ref
  8. Montague, R. The proper treatment of quantification in ordinary English. In R. H. Thomason, editor. Formal Philosophy, pages 188--221, Yale University Press, New Haven, Connecticut, 1974.Google ScholarGoogle Scholar
  9. Pereira, F. C. N. Logic for natural language analysis. Technical Note 275, Artificial Intelligence Center, SRI International, Menlo Park, California, 1983.Google ScholarGoogle Scholar
  10. Pereira, F. C. N. and S. M. Shieber. The semantics of grammar formalisms seen as computer languages. In Proceedings of the Tenth International Conference on Computational Linguistics. Stanford University, Stanford, California, 2--7 July 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Pereira, F. C. N. and D. H. D. Warren. Parsing as deduction. In Proceedings of the 21st Annual Meeting of the Association for Computational Linguistics. pages 137--144, Massachusetts Institute of Technology, Cambridge, Massachusetts, 15--17 June 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Shieber, S. M. Criteria for designing computer facilities for linguistic analysis. To appear in Linguistics.Google ScholarGoogle Scholar
  13. Shieber, S. M. The design of a computer language for linguistic information. In Proceedings of the Tenth International Conference on Computational Linguistics, Stanford University, Stanford, California, 2--7 July 1984. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Shieber, S. M. Sentence disambiguation by a shift reduce parsing technique. In Proceedings of the 21st Annual Meeting of the Association for Computational Linguistics, pages 113--118, Massachusetts Institute of Technology, Cambridge, Massachusetts, 15--17 June 1983. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Shieber, S. M., H. Uszkoreit, F. C. N. Pereira, J. J. Robinson, and M. Tyson. The formalism and implementation of PATR-II. In Research on Interactive Acquisition and Use of Knowledge, SRI International. Menio Park, California, 1983.Google ScholarGoogle Scholar
  16. Wise, M. J. and D. M. W. Powers. Indexing Prolog clauses via superimposed code words and field encoded words. In Proceedings of the 1984 International symposium on Logic Programming, pages 203--210, IEEE Computer Society Press, Atlantic City, New Jersey, 6--9 February 1984.Google ScholarGoogle Scholar
  1. Using restriction to extend parsing algorithms for complex-feature-based formalisms

      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 '85: Proceedings of the 23rd annual meeting on Association for Computational Linguistics
        July 1985
        344 pages

        Publisher

        Association for Computational Linguistics

        United States

        Publication History

        • Published: 8 July 1985

        Qualifiers

        • Article

        Acceptance Rates

        Overall Acceptance Rate85of443submissions,19%

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader