public int restoreSQL(String sql, int start, WeightFactory w, IDFLookup lookup)
			throws IOException {
		hash = 0;
		start = parseHash(sql, start);
		if ((hash == 0) || (sql.charAt(start) != ':')) {
			throw new IOException("Error parsing HashEntry");
		}
		tf = (short) (hash - 1);
		start = parseHash(sql, start + 1);
		idf = (short) lookup.getCount(hash);
		coeff = w.getCoeff(idf, tf);
		return start;
	}
Restore entry but recalculate the idf
@param parser		// xml state
@param w				// weight factory to calculate coefficient with
@param lookup		// lookup object to recalculate idf
Ghidra/Framework/Generic/src/main/java/generic/lsh/vector/HashEntry.java