skip to main content
article
Free Access

Ambiguity in context free languages

Published:01 January 1966Publication History
Skip Abstract Section

Abstract

Four principal results about ambiguity in languages (i.e., context free languages) are proved. It is first shown that the problem of determining whether an arbitrary language is inherently ambiguous is recursively unsolvable. Then a decision procedure is presented for determining whether an arbitrary bounded grammar is ambiguous. Next, a necessary and sufficient algebraic condition is given for a bounded language to be inherently ambiguous. Finally, it is shown that no language contained in w1*w2*, each w1 a word, is inherently ambiguous.

References

  1. 1 BAR-HILLEEL, PERLES, AND SHAMIR. On forraal properties of simple phrase structure grammars. Z. Phonetik. Sprachwiss. Kommunikationsforsch. 14 (1961), 143-172.Google ScholarGoogle Scholar
  2. 2 CANTOR, D- On the ambiguity problem of Backus systems. J. ACM 9 (1962), 477-479. Google ScholarGoogle Scholar
  3. 3 CoisKr, N. On certain formal properties of grammars. Inform. Control. 2 (1959), 137- 167.Google ScholarGoogle Scholar
  4. 4 Three models for the description of language. IRE Trans. on Information Theory 2 (1956), 113-124.Google ScholarGoogle Scholar
  5. 5 AND SCHUTZENBERGER, M. P. The algebraic theory of context-free languages. In Computer Programming and Formal Systems, Braffort and Hirschberg (Eds.), North- Holland Publishing Co., Amsterdam, 1963.Google ScholarGoogle Scholar
  6. 6 EVEY, J. The theory and applications of pushdown store machines. Mathematical Linguistics and Automatic Translation, Rep. No. NSF-10, Comput. Lab., Harvard U., 1963.Google ScholarGoogle Scholar
  7. 7 GINSBURG, S., .ND RICE, i.G. Two families of languages related to ALGOL. J. ACM 9 (1962), 350-371. Google ScholarGoogle Scholar
  8. 8 --- AND ROSE, G.F. Operations which preserve definability in languages. J. ACM I0 (1963), 175-195. Google ScholarGoogle Scholar
  9. 9 --- kND SpANIEI, E.H. Bounded ALGOL-like languages. Trans. Amer. Math. ocl 113 (1964), 333-368.Google ScholarGoogle Scholar
  10. 10 --- AND . Semigroups, Presburger formulas, and languages. Pacific J. Math., to appear.Google ScholarGoogle Scholar
  11. 11 GaIBACR, S.A. Inverses of phrase structure generators. Mathematical Linguistics and Automatic Translation, Rep. No. NSF-11, Comput. Lab., Harvard U., 1963.Google ScholarGoogle Scholar
  12. 12 PARIKH, R. J. Language-generating devices. Quart. Prog. Rep. No. 60, Res. Lab. of Electronics, MIT, Jan. 1961, 199-212.Google ScholarGoogle Scholar
  13. 13 PosT, E.L. A variant of a recursively unsolvable problem. Bull. Amer. Math. Soc. 52 (1946), 264-268.Google ScholarGoogle Scholar
  14. 14 RABIN, M., AND SCOTT, D. Finite automata and their decision problems. IBM J. Res. Develop. 3 (1959), 114-125.Google ScholarGoogle Scholar
  15. 15 SCHINBRO, S. Note on the Boolean properties of contex free languages. Infor. ContrS (1960), 372-375.Google ScholarGoogle Scholar

Index Terms

  1. Ambiguity in context free 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

              Full Access

              • Published in

                cover image Journal of the ACM
                Journal of the ACM  Volume 13, Issue 1
                Jan. 1966
                175 pages
                ISSN:0004-5411
                EISSN:1557-735X
                DOI:10.1145/321312
                Issue’s Table of Contents

                Copyright © 1966 ACM

                Publisher

                Association for Computing Machinery

                New York, NY, United States

                Publication History

                • Published: 1 January 1966
                Published in jacm Volume 13, Issue 1

                Permissions

                Request permissions about this article.

                Request Permissions

                Check for updates

                Qualifiers

                • article

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader