Computing the edit-distance between a regular language and a context-free language

  • Authors:
  • Yo-Sub Han;Sang-Ki Ko;Kai Salomaa

  • Affiliations:
  • Department of Computer Science, Yonsei University, Korea;Department of Computer Science, Yonsei University, Korea;School of Computing, Queen's University, Canada

  • Venue:
  • DLT'12 Proceedings of the 16th international conference on Developments in Language Theory
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

The edit-distance between two strings is the smallest number of operations required to transform one string into the other. The edit-distance problem for two languages is to find a pair of strings, each of which is from different language, with the minimum edit-distance. We consider the edit-distance problem for a regular language and a context-free language and present an efficient algorithm that finds an optimal alignment of two strings, each of which is from different language. Moreover, we design a faster algorithm for the edit-distance problem that only finds the minimum number of operations of the optimal alignment.