public void calcuateTFIDF(BufferedReader oBufferedReader)
			throws IOException {
		Hashtable<String, Integer> oTermVsTF = new Hashtable<String, Integer>();
		String strLine = null;
		while ((strLine = oBufferedReader.readLine()) != null) {
			if (strLine.trim().startsWith("<top>"))
				totalDocs++;
			if (strLine.startsWith("<") || strLine.trim().length() == 0)
				continue;
			String[] strArr = strLine.toLowerCase().split(" ");
			for (int i = 0; i < strArr.length; ++i) {
				if (oTermVsTF.containsKey(strArr[i]))
					oTermVsTF.put(strArr[i], oTermVsTF.get(strArr[i]) + 1);
				else
					oTermVsTF.put(strArr[i], 1);
			}
		}
		for (String strKey : oTermVsTF.keySet()) {
			double tfidf = oTermVsTF.get(strKey)
					* Math.log(totalDocs / oTermVsTF.get(strKey));
			oTermVsTFIDF.put(strKey, tfidf);
		}
	}