Merging Prediction by Partial Matching with Structural Contexts Model