public void load(Classifier classifier) throws IOException, ClassNotFoundException {
FileInputStream fos=new FileInputStream(filename);
ObjectInputStream oos=new ObjectInputStream(fos);
ClassifierMap cc= (ClassifierMap) oos.readObject();
FeatureMap fc= (FeatureMap) oos.readObject();
//classifier.getCategoryDocCount().clear();
/*classifier.getCategoryFeatureMap().clear();
classifier.getCategoryDocCount().putAll(cc);