preprocessing for English and Korean