contain total program to preprocess the text data