After the alignment of leaf nodes, the internal nodes are aligned following various approaches and distinct criteria. For instance, the method presented in <cite>[Lavie et al. 2008</cite> ] assigns a prime number to each pair of aligned leaf nodes in source and target trees based on the lexical alignment.