I.e., if for sentence s x , MALLET lists the topic t 1 as the topic with the highest probability, then s x is added to the data set of topic t 1 .
the data set of topic t 1 consists of all sentences for which MALLET showed topic t 1 as the most likely topic.