properly sum the tf-idf scores for the document, not per occurance, but once per term