Added words splitting for tf idf