@SuppressWarnings("unchecked")
		public void put(String word, Word w) {
			if (word.length() > max_len)
				max_len = word.length();
			HashMap<Integer, Object> head = trie;
			HashMap<Integer, Object> temp;
			for (int i = 0; i < word.length(); i++) {
				temp = (HashMap<Integer, Object>) head.get(escape(word
						.charAt(i)));
				if (temp == null) {
					temp = new HashMap<Integer, Object>(5);
					head.put(escape(word.charAt(i)), temp);
				}
				head = temp;
			}
			if (!head.containsKey(EndFlag))
				size++;
			head.put(EndFlag, w);
		}