We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e453561 commit 9ae3319Copy full SHA for 9ae3319
1 file changed
text_preprocessing/preprocessor.py
@@ -83,7 +83,7 @@ def __init__(
83
self.normalize_options = {
84
"language": language,
85
"stemmer": stemmer,
86
- "stopwords": stopwords,
+ "stopwords": stopwords or False, # None is not allowable so set to False
87
"strip_punctuation": strip_punctuation,
88
"strip_numbers": strip_numbers,
89
"lowercase": lowercase,
0 commit comments