construct spam training set