Set up functions to evaluate TF-IDFs effectiveness