资 源 简 介
import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.InputStreamReader;import java.io.OutputStreamWriter;import java.io.UnsupportedEncodingException;import java.util.*;public class FSInformationGain2 {//<目录,绝对路径文档>private static Map cateToDocs = new HashMap();//词典private static Set words= new HashSet();private static int document_count = 0;//<词,语料中出现的总次数>private static Map wordDF = new HashMap();//<目录,<词,该目录中出现的总次数> >private static Map categoryWordMap = new HashMap();public void sc