The implementation of algorithms for Latent structural SVM