java codes for preprocessing the original text for classification