public void restoreXml(XmlPullParser parser, WeightFactory w, IDFLookup lookup) {
		tf = 0;
		XmlElement el = parser.start("hash");
		String str = el.getAttribute("tf");
		if (str != null) {
			tf = (short) SpecXmlUtils.decodeInt(str);
			tf -= 1;
		}
		hash = SpecXmlUtils.decodeInt(parser.end().getText());
		idf = (short) lookup.getCount(hash);
		coeff = w.getCoeff(idf, tf);
	}
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