Pull the vocabulary and tag sets from the training data.