Algorithm to derive shortest edit script using Levenshtein distance algorithm

P. Prakash Maria Liju
8/18/2022
cs.DS

Official code: ppml38/shortest_edit_script (4 stars, JavaScript, MIT, last commit 2022-08-22).

Abstract

String similarity, longest common subsequence and shortest edit scripts are the triplets of problem that related to each other. There are different algorithms exist to generate edit script by solving longest common subsequence problem.

Show full abstract

This paper proposes an algorithm that uses string similarity problem to generate shortest edit script. For this we use the famous Levenshtein distance algorithm, which computes a numerical value that represents similarity between the strings from 0 to n, where n is the length of longest input string, and produce the shortest edit script which contains instructions of Insert, Delete and Substitute.

View on arXivView PDF

Code Implementations(1)

MIT

Novel algorithm to generate shortest edit script.

41JavaScript, HTMLAug 16, 20224 years agoMIT
algorithmsdata-structuresdiffedit-distanceedit-distance-algorithm+10 more

Similar Papers

Cite this paper

@article{liju2022algorithm,
  title  = {Algorithm to derive shortest edit script using Levenshtein distance algorithm},
  author = {P. Prakash Maria Liju},
  year   = {2022},
  eprint = {2208.08823},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.08823}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.08823.svg)](https://codeofpaper.com/paper/2208.08823)

Discussion