Text Preprocessor

Added code for text preprocessing.