Compute TF-IDF weight vectors for each item.