Latent Support Measure Machines for Bag-of-Words Data Classification