Clustering text into topics using latent Dirichlet allocation (version recorded for machine learning course)