implement PLSA (naive implementation)