yes. You can use metrics based on class information.
- You compute the collection based values for each term based on the train set (i.e. idf). This might include class based information such as the max.chi^2 values for each term.
- For the test documents you combine the measures: For instance multiplying the TF with the IDF (based on the train set) with the max.chi^2 (based on the train as well).
Regards,