Skip to content

Commit 9ae3319

Browse files
committed
bug fix for stopwords
1 parent e453561 commit 9ae3319

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

text_preprocessing/preprocessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def __init__(
8383
self.normalize_options = {
8484
"language": language,
8585
"stemmer": stemmer,
86-
"stopwords": stopwords,
86+
"stopwords": stopwords or False, # None is not allowable so set to False
8787
"strip_punctuation": strip_punctuation,
8888
"strip_numbers": strip_numbers,
8989
"lowercase": lowercase,

0 commit comments

Comments
 (0)