# Okapi Framework - Steps ## Diff Leverage Step
- Overview - Parameters |
Steps | Developer's Guide | Okapi Framework

If you are using an Okapi Tool after the M9 release, you should be using the wiki online help:
http://www.opentag.com/okapi/wiki/index.php?title=Diff_Leverage_Step

## Overview

This step compares the source text of two documents to try to leverage existing translation for a new source content.

Takes: Filter events
Sends: Filter events

### Input

This step requires two inputs:

- The first one is the new document that needs to be translated.
- The second one is a bilingual document with the old source and its corresponding old translation.

or

- The first one is the new document that needs to be translated.
- The second one is the document with the old source.
- The third one is the document with the old translation.

When using three documents, the text units between the second and the third must be aligned (same number, same order)

### Limitations

The comparison process is done of the list of all the text units, in memory. You may not be able to process very large documents.

## Parameters

Leverage only if the match is equal or above this score -- Set the leverage threshold. If the result of the process is equal or above the specified threshold, the old target text is leveraged, otherwise it is ignored.

Include inline codes in the comparison -- Set this option to take the inline codes into consideration when computing the quality of the matches.