Added document frequency and chi-square based feature selection for local and global classifier.