TF-IDF summarizer
Added +1 smoothing to IDF to solve divide-by-0 errors
Added vectorize code; added default param for is_valid