split into two classes, FindPattern and PredictEmail