Why does this return a string?  If this computes the topic distribution from a string, it should return a vector of real numbers.
Or a numpy vector.