more efficient version
clean up
train a tagger and get its accuracy on a validation file