The gaps for the insertion of the tree sequences in the target side are generated from either the inherit- generate translations by replacing the nonterminal leaf nodes of r with their corresponding spans' translation 6: insert the new translation into h[j 1 , j 2 ] 7: end if 8: end do ance of the target side non-contiguous tree sequence pairs or the production of the previous operations of "Source gap insertion".
the insertion for target gaps helps search for a better order of the non-contiguous constituents in the target side.