in-memory topic modeling for faster performance