public String matchQueryWordToProduct(String oldQuery,
			HashSet<String> prodWords) {
		String[] oldQueryArray = oldQuery.split(" ");
		// System.out.println(oldQuery);
		StringBuilder sb = new StringBuilder();
		for (int i = 0 ; i < oldQueryArray.length; i ++) {
			if (isNumeric(oldQueryArray[i]) || oldQueryArray[i].equals(" ")) {
				sb.append(oldQueryArray[i]);
			} else {
				oldQueryArray[i]= correctWord(oldQueryArray[i].trim(), prodWords);
				if(oldQueryArray[i]== null){
					oldQueryArray[i]= "";
				}
				sb.append(oldQueryArray[i]);
			}
			if(i != oldQueryArray.length-1)
				sb.append(" ");
		}
		// System.out.println(sb.toString());
		return sb.toString();
	}