Skip to content

Commit

Permalink
fixing error download of nltk punkt needed
Browse files Browse the repository at this point in the history
  • Loading branch information
H3nkl3r committed May 22, 2022
1 parent 3e21528 commit 2430910
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions WhereDoIHaveAnAccount/scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ def preprocess_data(email_header_df):
email_header_df['subject'] = email_header_df['subject'].apply(lambda x: re.sub("ß", "ss", x))

# tokenize
nltk.download('punkt')
email_header_df['subject'] = email_header_df['subject'].apply(lambda x: nltk.word_tokenize(x))

# remove stopwords
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
authors = [
{name = "Timo Kühne"},
]
version = "1.4.0"
version = "1.4.1"
description = "Simple tool to find out where you have accounts."
requires-python = ">=3.6.1"
classifiers = [
Expand Down

0 comments on commit 2430910

Please sign in to comment.