MedLDA: A General Framework of Maximum Margin Supervised Topic Models