Class DiffLeverageStep

  • All Implemented Interfaces:
    IPipelineStep

    public class DiffLeverageStep
    extends BasePipelineStep
    Contextually match source "paragraphs" (full content of the TextUnit source) between two documents using a standard diff algorithm (http://en.wikipedia.org/wiki/Diff). The result is a new document with the translations from the old document copied into it. This allows translations between different document versions to be preserved while still maintaining the newer source document modifications.

    Adds these Annotations:
  • AltTranslationsAnnotation on the target container.
  • DiffMatchAnnotation on the target container (only applied if diffOnly is true)
Author:
HARGRAVEJE