Jump to content

Diff-Text

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Marisa rain (talk | contribs) at 01:37, 12 December 2012 (Created page with '{{Infobox software | name = Diff Text | logo = 32px | developer = DiffEngineX LLC...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Diff Text
Developer(s)DiffEngineX LLC
Initial releaseOct 29, 2012
Written inC-sharp
Operating systemAny
TypeFile comparison
LicenseClosed Source
Websitediff-text.com


Moved text is colored blue or gray. Re-ordered text has its background color changed to alternately light blue and yellow.

Diff Text is a free software tool which finds the differences between two blocks of plain text.[1][2] It takes the form of a collection of web-pages, each one with a slightly different layout. Text to be compared is pasted directly into the web-page. It can be used from any operating system.

Diff Text was developed by DiffEngineX LLC and uses improved algorithms originally developed for the spreadsheet compare tool DiffEngineX[3][4].

It allows the user to choose between comparing at the level of whole lines (or paragraphs), words or characters. If comparing whole lines only the fact that a line is not in the other block will be reported. Diff Text considers a paragraph to be any line ending with a Windows, Macintosh or Unix line terminator.

The website can combine the original and modified text blocks into one pane with all differences highlighted. Alternatively the marked-up original and modified text blocks can be displayed in individual panes.

Navigation from one difference to the next is supported.

All of the above features are not unique and can be found in other text comparison tools.

The unique feature of Diff Text is its ability to spot text that has either been moved up or down in the document and placed into a new context. To avoid spurious similarities being flagged, the software allows the user to specify the minimum number of adjacent words or characters to be reported as a move. Text movements are reported such that the number of individual edits to transform the original text into the modified text are at a minimum.

The vast majority of text comparison software based on the longest common subsequence algorithm incorrectly report moved text as unlinked additions and deletions.

Heuristics are not used. Any similarity between the two documents above the specified minimum will be reported (if detecting moves is selected). This is the main difference between Diff Text and most other text comparison algorithms. Diff Text will always match up significant similarities even if contained within non-identical or moved lines. It never resorts to guessing or the first match that happens to be found, which may result in non-optimal matches elsewhere.

Not only can Diff Text spot whole paragraphs that have been moved up or down in a document, it can spot sentence re-ordering within a paragraph. To indicate this the background color of the text changes to light blue and yellow.

If the user specifies text movements should not be detected, its algorithm runs in (m log n) time, which is an improvement from the standard quadratic time often seen in software of this type. m and n refer to the sizes of the original and modified texts.

The software can display just the differences, the differences with a variable amount of context on either side or the whole marked-up text.

The website supports the use of https/SSL (Secure Sockets Layer) so confidential text can be compared.

The algorithm used by Diff Text is used by Selection Diff Tool, which is an app for Microsoft Word and Excel 2013.[5]

Category:Free file comparison tools Category:File comparison tools Category:Data differencing

References

  1. ^ HVG Weekly [1], 2 November 2012. Retrieved on 8 December 2012.
  2. ^ Bitbucket[2], 28 November 2012. Retrieved on 9 December 2012.
  3. ^ Chambers, Chris, Martin Erwig, and Markus Luckey. "SheetDiff: A tool for identifying changes in spreadsheets." IEEE Int. Symp. on Visual Languages and Human-Centric Computing.[3], September 2010. Retrieved on 11 December 2012.
  4. ^ Harutyunyan, Anna, et al. "Planted-model evaluation of algorithms for identifying differences between spreadsheets." engr.oregonstate.edu[4], 2012. Retrieved on 11 December 2012.
  5. ^ Office.Microsoft.com [5], 26 November 2012. Retrieved on 8 December 2012.