Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

typo in preprocessing? #13

Open
VirkSaab opened this issue Jun 4, 2020 · 0 comments
Open

typo in preprocessing? #13

VirkSaab opened this issue Jun 4, 2020 · 0 comments

Comments

@VirkSaab
Copy link

VirkSaab commented Jun 4, 2020

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?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant