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?
Hi, In cleaning function in the script :
nlp-tutorial/news-category-classifcation/preprocessing.py
, line 21 is written astext = re.sub(r'[!]{2,}', '?', text) # multiple ?s -> ?
. There should be ? in first argument and It should betext = re.sub(r'[?]{2,}', '?', text) # multiple ?s -> ?
. Am I correct?