create corpus with all questions grouped by topic, infrequent words removed