generate a dictionary of topic and its keywords for training data
run and plot