Dirichlet Process Mixtures of Generalized Mallows Models