typo in preprocessing?
VirkSaab opened this issue · comments
Jitender Singh Virk commented
Hi,
In cleaning function in the script : nlp-tutorial/news-category-classifcation/preprocessing.py
,
line 21 is written as text = re.sub(r'[!]{2,}', '?', text) # multiple ?s -> ?
. There should be ? in first argument and It should be text = re.sub(r'[?]{2,}', '?', text) # multiple ?s -> ?
.
Am I correct?