I was wondering which is the best preprocessing method for words dict or re.sub() ?
dict
re.sub()
here is example about dict: