TF/IDF-based Feature Generation Algorithm