Classifier-based tagging