Hostname: page-component-89b8bd64d-72crv Total loading time: 0 Render date: 2026-05-12T09:48:24.440Z Has data issue: false hasContentIssue false

Normalization of edit sequencesfor text synchronization

Published online by Cambridge University Press:  18 April 2011

Rafael C. Carrasco
Affiliation:
Departamento de Lenguajes y Sistemas Informàticos, Universidad de Alicante, 03071 Alicante, Spain. carrasco@dlsi.ua.es
Alexander Sánchez Díaz
Affiliation:
Departamento de Computación. Universidad Agraria de La Habana. La Habana, Cuba. alezsd@yahoo.com
Get access

Abstract

It often occurs that local copies of a text are modified by users but that the local modifications are not synchronized (thus allowing the merged text to become the source for later editions) until later when, for instance the network connection is reestablished. Since text editions usually affect a small fraction of the whole content, the history of edit operations provides a compact representation of the modified file. In this paper, we define a normal form for these records which will permit for the comparison of all text files that have been obtained by editing a common source S when the difference between each output file Oi and the source file is given as a sequence Li of edit operations. We show that the normalized sequence is unique for all the equivalent text editions and provide efficient procedures with which to compute this normal form and to obtain the edit sequence LM transforming S into a merged file M which integrates all the local modifications. We also discuss how these normalization can be integrated into the operational transformation paradigm for optimistic replication.

Information

Type
Research Article
Copyright
© EDP Sciences, 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable