test global term frequency and number of token types
calculate new topic weight (tested)