Corrections in the main for TfIdf.