private void incrementCount(Document d, String real, String stem) {
		if (!raw_word_counts.containsKey(real)) {
			raw_word_counts.put(real, new HashMap<String, Integer>());
		}
		if(!raw_stem_counts.containsKey(stem)){
			raw_stem_counts.put(stem, new HashMap<String, Integer>());
		}
		
		HashMap<String, Integer> curr = raw_word_counts.get(real);
		HashMap<String, Integer> stemCurr = raw_stem_counts.get(stem);

		
		
		if (!curr.containsKey(d.getID())) {
			curr.put(d.getID(), 0);
		}
		
		curr.put(d.getID(), curr.get(d.getID()) + 1);
		
		if (!stemCurr.containsKey(d.getID())) {
			stemCurr.put(d.getID(), 0);
		}
		
		stemCurr.put(d.getID(), stemCurr.get(d.getID()) + 1);
	}