Learning Probabilistic Kernel from Latent Dirichlet Allocation