Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Lab 1 fixes #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Lab 1 fixes #1

wants to merge 1 commit into from

Conversation

PrimozGodec
Copy link

@PrimozGodec PrimozGodec commented Oct 31, 2024

The current notebook needs a few fixes (mostly due to library changes):

  • Now Pandas replace the need to specify that the pattern is regex. If it is missing, URLs are not filtered since the pattern is interpreted as regular strings, not regex.
  • CountVectorizer does not accept sets anymore. Stopwords need to be provided as a list.
  • The pattern r'\w{3,}' needs either double \ or r to work as regex.

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

Successfully merging this pull request may close these issues.

1 participant