TF-IDF filter implemented and tested separately.