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("<desc>"))
				totalDocs++;
			if (strLine.startsWith("<") || strLine.trim().length() == 0)
				continue;
			String[] strArr = strLine.toLowerCase().split(" ");
			for (int i = 0; i < strArr.length; ++i) {
				if (strArr[i].matches("[a-zA-Z]+")
						&& !stopwordsMap.containsKey(strArr[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);
		}
/* ----  To print the occurance of string in hashmap -------   */
//		
//for (Map.Entry<String, Integer> entry : oTermVsTF.entrySet())
//{
//System.out.println(entry.getKey() + " -- " + entry.getValue());
//}

//---------------------
	}