skip to main content
article
Free Access

Order-n correction for regular languages

Published:01 May 1974Publication History
Skip Abstract Section

Abstract

A method is presented for calculating a string B, belonging to a given regular language L, which is “nearest” (in number of edit operations) to a given input string α. B is viewed as a reasonable “correction” for the possibly erroneous string α, where α was originally intended to be a string of L. The calculation of B by the method presented requires time proportional to |α|, the number of characters in α. The method should find applications in information retrieval, artificial intelligence, and spelling correction systems.

References

  1. 1 Conway, R.W., and Maxwell, W.L. CORC--the Cornell computing language. Comm. ACM 6, 9 (Sept. 1966), 317-321. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. 2 Morgan, H.L., and Wagner, R.A. PL/C--A high performance compiler for PL/I. Proc. 1971 SJCC, Vol. 38, AFIPS Press, Montvale, N.J., pp. 503-510.Google ScholarGoogle Scholar
  3. 3 Morgan, H.L. Spelling correction in systems programs. Comm. ACM 13, 2 (Feb. 1970), 90-94. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. 4 Wagner, R.A. An n 3 minimum edit distance correction algorithm for context free languages. Tech. Rep., Systems and Information Science Dep., Vanderbilt U., Nashville, Tenn., 1972.Google ScholarGoogle Scholar
  5. 5 Nemhauser, G,L. introduction to Dynamic Programming. Wiley, New York, 1966.Google ScholarGoogle Scholar
  6. 6 Wagner, R.A. The string-to-string correction problem. Tech. Rep., Systems and Information Sciences Dep., Vanderbilt U., Nashville, Tenn., 1971.Google ScholarGoogle Scholar
  7. 7 Floyd, R.W. Algorithm 97--Shortest path. Comm. ACM 5, 6 (June 1962), 345. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. 8 Gries, D. Compiler Construction Jbr Digital Computers. Wiley, New York, 1971. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. 9 LaFrance, J.E. Syntax-directed error recovery for compilers. Ph.D. Th., Rep. No. 459, Dep. of Comput. Sci., U. of Illinois at Urbana-Champaign, Urbana, 111., June 1971. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. 10 Irons, E.T. An error-correcting parse algorithm. Comm. ACM 13, 11 (Nov. 1963), 669-673. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. 11 Leinus, R. Error detection and recovery in syntax-directed compilers. Ph.D. Th., U. of Wisconsin, Madison, Wis., 1970. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. 12 Levy, J-P. Automatic correction of syntax errors in programming languages. Ph.D. Th., Dep. of Comput. Sci., Cornell U., Ithaca, N.Y. 1971. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Order-n correction for regular 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

                    PDF Format

                    View or Download as a PDF file.

                    PDF

                    eReader

                    View online with eReader.

                    eReader