added filterTfIdf to filter out tokens by frequency