Sciweavers

ICEIS
2009
IEEE

A Natural and Multi-layered Approach to Detect Changes in Tree-Based Textual Documents

13 years 11 months ago
A Natural and Multi-layered Approach to Detect Changes in Tree-Based Textual Documents
Several efficient and very powerful algorithms exist for detecting changes in tree-based textual documents, such as those encoded in XML. An important aspect is still underestimated in their design and implementation: the quality of the output, in terms of readability, clearness and accuracy for human users. Such requirement is particularly relevant when diff-ing literary documents, such as books, articles, reviews, acts, and so on. This paper introduces the concept of ’naturalness’ in diff-ing tree-based textual documents, and discusses a new extensible set of changes which can and should be detected. A naturalness-based algorithm is presented, as well as its application for diff-ing XML-encoded legislative documents. The algorithm, called JNDiff, proved to detect significantly better matchings (since new operations are recognized) and to be very efficient.
Angelo Di Iorio, Michele Schirinzi, Fabio Vitali,
Added 23 May 2010
Updated 23 May 2010
Type Conference
Year 2009
Where ICEIS
Authors Angelo Di Iorio, Michele Schirinzi, Fabio Vitali, Carlo Marchetti
Comments (0)