adding termFrequency to each doc for PRF