hLDA model for patent classification