Smart Merge

The Smart Merge option allows you to intelligently merge two clauses (or selections of text) in an intelligent way, with the help of Artificial Intelligence.

How to invoke

Smart Merge is not a separate module that you can activate through the home page of ClauseBuddy; instead, it can be invoked before you insert a clause into your MS Word document. For example, within the Quality Library, it would be shown as follows:

Similar popup-menus can be found within Samples Hunt, Truffle Hunt and AutoSuggest.

In addition, you can also invoke Smart Merge through an explicit button within Deep Compare, when comparing two entire documents.

Selecting the texts to merge

When you invoke Smart Merge, it will show show a dialog box with two different texts:

  • The text on the left side will consist of your currently selected text in MS Word, or — when no text is selected at all — the paragraph your cursor is currently positioned in.

  • The text on the right side will consist of the clause you were dealing with in ClauseBuddy (e.g., the AutoSuggest clause you selected and for which you invoked the popup-menu through the big "+" button).

However, you can change the text at either side by clicking on either the Use selection button (which will pick up the text from your current selection in MS Word) or through the Paste text button (which will paste text from your clipboard). So even if the dialog box was initially filled with some text, you can completely change these texts however you want.

Once your left side (Target clause) and right side (Merge with) are selected, you can click on the purple Analyse button to start the AI-analysis of the two texts.

The AI will analyse your clauses to extract "legal features", i.e. relevant legal elements for the context, e.g. the way the duration of a contract is expressed, or the fact that some arbitration panel is chosen, or a certain termination right. The AI will thereby focus on relevant content-related legal differences, and skip over mere grammatical differences.

For example, the two simple clauses shown in the previous screenshot, were broken down into the following legal features:

Initially, all the legal features of the Target clause will be selected, while none of the Merge with features will be selected. It is then up to you do decide which features you want to add or remove, simply by clicking on either the green/red button or the associated text.

You can click on the eye icon at the right to see the actual text associated with this legal feature:

As you can see in the screenshot, it may also happen that legal features are "conflicting" with each other. For example, the clause on the left required complaints to be submitted within one month, while the clause on the right requires three months. You can hover over the orange or red Conflicting button to see the label(s) of the conflicting legal feature (conflicts may also exist with multiple legal features at once) :

The orange Conflicting warning merely expresses that there are potential conflicts; if you simultaneously enable two conflicting legal features, the orange will turn into red:

You will then, likely, want to disable one of the two conflicting legal features. For example, in the example below, the conflicting requirement from Merge with was deselected again

Once you have selected all the legal features you like, you can click on the purple Merge button to ask ClauseBuddy to merge the two clauses in the way you expressed. The AI will start from the target clause (i.e., the one that was initially at the left) and then:

  • remove undesired legal features, i.e. legal featurs that you disabled from the Target clause

  • add new legal features, i.e. legal features that you enabled in the Merge with clause

The AI will thereby start from the Target clause's terminology, and adapt the wording of the legal featuress taken from the Merge with clause, so that they are more consistent with the Target clause. You should however be aware that this merging operation will not be perfect, although the AI will often do a pretty good job.

In case you did not resolve conflicts and nevertheless merged, the AI will usually give precedence to the legal feature in the Merge with clause, to the detriment of the corresponding legal feature in the Target clause.

Inspecting the merge result

The AI will show you the final result:

You may want to check the difference between this text and the initial Target clause by clicking on the grey Compare button:

Finally, you can insert the new text into your MS Word file by clicking on the purple + Insert button. As is the case with this popup-menu elsewhere in ClauseBuddy, you can choose to either insert the new text

  • as-is, effectively removing the currently selected text (if any) in MS Word

  • with "track changes":

    • if no text is currently selected in MS Word, then the entire clause will be shown as an insertion

    • if some text is effectively selected in MS Word, then ClauseBuddy will compare the currently selected text of each paragraph with the new text that you're about to insert, so that partial insertions and deletions will typically be generated.

For example, when choosing Insert with changes while the initial clause was selected, the following result is generated in MS Word:

Last updated