Refactor classifier: independent from category label text.